Struct matrix::Triangular
[−]
[src]
pub struct Triangular<T: Element> { pub size: usize, pub format: Part, pub data: Vec<T>, }
A triangular matrix.
Apart from triangular matrices, the storage is suitable for symmetric and Hermitian matrices. Data are stored in the format adopted by LAPACK.
Fields
size: usize
The number of rows or columns.
format: Part
The storage format.
data: Vec<T>
The data stored in the column-major order.
Trait Implementations
impl<T: PartialEq + Element> PartialEq for Triangular<T>
[src]
fn eq(&self, __arg_0: &Triangular<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Triangular<T>) -> bool
This method tests for !=
.
impl<T: Debug + Element> Debug for Triangular<T>
[src]
impl<T: Clone + Element> Clone for Triangular<T>
[src]
fn clone(&self) -> Triangular<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Element> Matrix for Triangular<T>
[src]
type Element = T
The element type.
fn rows(&self) -> usize
Return the number of rows.
fn columns(&self) -> usize
Return the number of columns.