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

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

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, Global>

(n-1) sub-diagonal elements of matrix.

d: Vec<A, Global>

(n) diagonal elements of matrix.

du: Vec<A, Global>

(n-1) super-diagonal elements of matrix.

Trait Implementations

impl<A> Clone for Tridiagonal<A> where
    A: Clone + Scalar
[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> Index<[i32; 2]> for Tridiagonal<A> where
    A: Scalar
[src]

type Output = A

The returned type after indexing.

impl<A> Index<(i32, i32)> for Tridiagonal<A> where
    A: Scalar
[src]

type Output = A

The returned type after indexing.

impl<A> IndexMut<[i32; 2]> for Tridiagonal<A> where
    A: Scalar
[src]

impl<A> IndexMut<(i32, i32)> for Tridiagonal<A> where
    A: Scalar
[src]

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

type Output = A::Real

the value of norm

impl<A> PartialEq<Tridiagonal<A>> for Tridiagonal<A> where
    A: PartialEq<A> + Scalar
[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> StructuralPartialEq for Tridiagonal<A> where
    A: Scalar
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,