pub trait Tridiagonal_: Scalar + Sized {
// Required methods
fn lu_tridiagonal(
a: Tridiagonal<Self>,
) -> Result<LUFactorizedTridiagonal<Self>>;
fn rcond_tridiagonal(
lu: &LUFactorizedTridiagonal<Self>,
) -> Result<Self::Real>;
fn solve_tridiagonal(
lu: &LUFactorizedTridiagonal<Self>,
bl: MatrixLayout,
t: Transpose,
b: &mut [Self],
) -> Result<()>;
}
Expand description
Wraps *gttrf
, *gtcon
and *gttrs
Required Methods§
Sourcefn lu_tridiagonal(a: Tridiagonal<Self>) -> Result<LUFactorizedTridiagonal<Self>>
fn lu_tridiagonal(a: Tridiagonal<Self>) -> Result<LUFactorizedTridiagonal<Self>>
Computes the LU factorization of a tridiagonal m x n
matrix a
using
partial pivoting with row interchanges.
fn rcond_tridiagonal(lu: &LUFactorizedTridiagonal<Self>) -> Result<Self::Real>
fn solve_tridiagonal( lu: &LUFactorizedTridiagonal<Self>, bl: MatrixLayout, t: Transpose, b: &mut [Self], ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.