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>, }
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, 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
Computes the determinant of the matrix.
Unlike .det()
of Determinant trait, this method
doesn’t returns the natural logarithm of the determinant
but the determinant itself. Read more
Computes the LU factorization A = P*L*U
, where P
is a permutation
matrix. Read more
Computes the LU factorization A = P*L*U
, where P
is a permutation
matrix. Read more
the one norm of a matrix (maximum column sum)
the infinity norm of a matrix (maximum row sum)
the Frobenius norm of a matrix (square root of sum of squares)
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Solves a system of linear equations A * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^T * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^T * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^H * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^T * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^T * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
Solves a system of linear equations A^H * x = b
with tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. Read more
impl<A> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for Tridiagonal<A> where
A: Scalar + Lapack,
impl<A> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for Tridiagonal<A> where
A: Scalar + Lapack,
Solves a system of linear equations A * x = b
tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. The value of x
is also assigned to the
argument. Read more
Solves a system of linear equations A^T * x = b
tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. The value of x
is also assigned to the
argument. Read more
Solves a system of linear equations A^H * x = b
tridiagonal
matrix A
, where A
is self
, b
is the argument, and
x
is the successful result. The value of x
is also assigned to the
argument. Read more
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