Struct lax::Tridiagonal [−][src]
pub struct Tridiagonal<A: Scalar> { pub l: MatrixLayout, pub dl: Vec<A>, pub d: Vec<A>, pub du: Vec<A>, }
Expand description
Represents a tridiagonal matrix as 3 one-dimensional vectors.
[d0, u1, 0, ..., 0, l1, d1, u2, ..., 0, l2, d2, ... ..., u{n-1}, 0, ..., l{n-1}, d{n-1},]
Fields
l: MatrixLayout
layout of raw matrix
dl: Vec<A>
(n-1) sub-diagonal elements of matrix.
d: Vec<A>
(n) diagonal elements of matrix.
du: Vec<A>
(n-1) super-diagonal elements of matrix.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<A> RefUnwindSafe for Tridiagonal<A> where
A: RefUnwindSafe,
impl<A> Send for Tridiagonal<A> where
A: Send,
impl<A> Sync for Tridiagonal<A> where
A: Sync,
impl<A> Unpin for Tridiagonal<A> where
A: Unpin,
impl<A> UnwindSafe for Tridiagonal<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V