pub struct LUFactorizedTridiagonal<A>where
A: Scalar,{
pub a: Tridiagonal<A>,
pub du2: Vec<A, Global>,
pub ipiv: Vec<i32, Global>,
pub a_opnorm_one: <A as Scalar>::Real,
}
Expand description
Represents the LU factorization of a tridiagonal matrix A
as A = P*L*U
.
Fields
a: Tridiagonal<A>
A tridiagonal matrix which consists of
- l : layout of raw matrix
- dl: (n-1) multipliers that define the matrix L.
- d : (n) diagonal elements of the upper triangular matrix U.
- du: (n-1) elements of the first super-diagonal of U.
du2: Vec<A, Global>
(n-2) elements of the second super-diagonal of U.
ipiv: Vec<i32, Global>
The pivot indices that define the permutation matrix P
.
a_opnorm_one: <A as Scalar>::Real
Trait Implementations
sourceimpl<A> Clone for LUFactorizedTridiagonal<A>where
A: Clone + Scalar,
<A as Scalar>::Real: Clone,
impl<A> Clone for LUFactorizedTridiagonal<A>where
A: Clone + Scalar,
<A as Scalar>::Real: Clone,
sourcefn clone(&self) -> LUFactorizedTridiagonal<A>
fn clone(&self) -> LUFactorizedTridiagonal<A>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<A> PartialEq<LUFactorizedTridiagonal<A>> for LUFactorizedTridiagonal<A>where
A: PartialEq<A> + Scalar,
<A as Scalar>::Real: PartialEq<<A as Scalar>::Real>,
impl<A> PartialEq<LUFactorizedTridiagonal<A>> for LUFactorizedTridiagonal<A>where
A: PartialEq<A> + Scalar,
<A as Scalar>::Real: PartialEq<<A as Scalar>::Real>,
sourcefn eq(&self, other: &LUFactorizedTridiagonal<A>) -> bool
fn eq(&self, other: &LUFactorizedTridiagonal<A>) -> bool
sourceimpl<A> ReciprocalConditionNumTridiagonal<A> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
impl<A> ReciprocalConditionNumTridiagonal<A> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
sourcefn rcond_tridiagonal(&self) -> Result<A::Real>
fn rcond_tridiagonal(&self) -> Result<A::Real>
Estimates the reciprocal of the condition number of the tridiagonal matrix in
1-norm. Read more
sourceimpl<A> ReciprocalConditionNumTridiagonalInto<A> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
impl<A> ReciprocalConditionNumTridiagonalInto<A> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
sourcefn rcond_tridiagonal_into(self) -> Result<A::Real>
fn rcond_tridiagonal_into(self) -> Result<A::Real>
Estimates the reciprocal of the condition number of the tridiagonal matrix in
1-norm. Read more
sourceimpl<A> SolveTridiagonal<A, Dim<[usize; 1]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
impl<A> SolveTridiagonal<A, Dim<[usize; 1]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
sourcefn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix1>
) -> Result<Array<A, Ix1>>
fn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix1>
) -> Result<Array<A, Ix1>>
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 moresourcefn solve_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
fn solve_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
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 moresourcefn solve_t_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix1>
) -> Result<Array<A, Ix1>>
fn solve_t_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix1>
) -> Result<Array<A, Ix1>>
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 moresourcefn solve_t_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
fn solve_t_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
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 moresourceimpl<A> SolveTridiagonal<A, Dim<[usize; 2]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
impl<A> SolveTridiagonal<A, Dim<[usize; 2]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
sourcefn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix2>
) -> Result<Array<A, Ix2>>
fn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix2>
) -> Result<Array<A, Ix2>>
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 moresourcefn solve_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix2>
) -> Result<ArrayBase<S, Ix2>>
fn solve_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix2>
) -> Result<ArrayBase<S, Ix2>>
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 moresourcefn solve_t_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix2>
) -> Result<Array<A, Ix2>>
fn solve_t_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix2>
) -> Result<Array<A, Ix2>>
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 moresourcefn solve_t_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix2>
) -> Result<ArrayBase<S, Ix2>>
fn solve_t_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix2>
) -> Result<ArrayBase<S, Ix2>>
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 moresourceimpl<A> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
impl<A> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for LUFactorizedTridiagonal<A>where
A: Scalar + Lapack,
sourcefn solve_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
fn solve_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
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 moresourcefn solve_t_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
fn solve_t_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
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 moresourcefn solve_h_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
fn solve_h_tridiagonal_inplace<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix2>
) -> Result<&'a mut ArrayBase<Sb, Ix2>>where
Sb: DataMut<Elem = A>,
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 moreimpl<A> StructuralPartialEq for LUFactorizedTridiagonal<A>where
A: Scalar,
Auto Trait Implementations
impl<A> RefUnwindSafe for LUFactorizedTridiagonal<A>where
A: RefUnwindSafe,
<A as Scalar>::Real: RefUnwindSafe,
impl<A> Send for LUFactorizedTridiagonal<A>where
A: Send,
<A as Scalar>::Real: Send,
impl<A> Sync for LUFactorizedTridiagonal<A>where
A: Sync,
<A as Scalar>::Real: Sync,
impl<A> Unpin for LUFactorizedTridiagonal<A>where
A: Unpin,
<A as Scalar>::Real: Unpin,
impl<A> UnwindSafe for LUFactorizedTridiagonal<A>where
A: UnwindSafe,
<A as Scalar>::Real: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more