Struct matrix::Band [] [src]

pub struct Band<T: Element> {
    pub rows: usize,
    pub columns: usize,
    pub superdiagonals: usize,
    pub subdiagonals: usize,
    pub data: Vec<T>,
}

A band matrix.

Data are stored in the format adopted by LAPACK.

Fields

rows: usize

The number of rows.

columns: usize

The number of columns.

superdiagonals: usize

The number of superdiagonals.

subdiagonals: usize

The number of subdiagonals.

data: Vec<T>

The values of the diagonal elements such that the first row corresponds to the uppermost superdiagonal while the last row corresponds to the lowest supdiagonal.

Trait Implementations

impl<T: Debug + Element> Debug for Band<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T: Clone + Element> Clone for Band<T>
[src]

fn clone(&self) -> Band<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> From<Diagonal<T>> for Band<T>
[src]

fn from(diagonal: Diagonal<T>) -> Band<T>

Performs the conversion.