[][src]Struct ndarray_linalg::tridiagonal::Tridiagonal

pub struct Tridiagonal<A: Scalar> {
    pub l: MatrixLayout,
    pub dl: Vec<A>,
    pub d: Vec<A>,
    pub du: Vec<A>,
}

Represents a tridiagonal matrix as 3 one-dimensional vectors. This struct also holds the layout of the raw matrix.

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

impl<A: Clone + Scalar> Clone for Tridiagonal<A>[src]

impl<A> DeterminantTridiagonal<A> for Tridiagonal<A> where
    A: Scalar
[src]

impl<A> FactorizeTridiagonal<A> for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

impl<A> FactorizeTridiagonalInto<A> for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

impl<A, I> Index<I> for Tridiagonal<A> where
    A: Scalar,
    I: TridiagIndex
[src]

type Output = A

The returned type after indexing.

impl<A, I> IndexMut<I> for Tridiagonal<A> where
    A: Scalar,
    I: TridiagIndex
[src]

impl<A> OperationNorm for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

type Output = A::Real

the value of norm

impl<A: PartialEq + Scalar> PartialEq<Tridiagonal<A>> for Tridiagonal<A>[src]

impl<A> SolveTridiagonal<A, Dim<[usize; 1]>> for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

impl<A> SolveTridiagonal<A, Dim<[usize; 2]>> for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

impl<A> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for Tridiagonal<A> where
    A: Scalar + Lapack
[src]

impl<A: Scalar> StructuralPartialEq for Tridiagonal<A>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.