lax

Trait Tridiagonal_

Source
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§

Source

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.

Source

fn rcond_tridiagonal(lu: &LUFactorizedTridiagonal<Self>) -> Result<Self::Real>

Source

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.

Implementations on Foreign Types§

Source§

impl Tridiagonal_ for f32

Source§

impl Tridiagonal_ for f64

Source§

impl Tridiagonal_ for c32

Source§

impl Tridiagonal_ for c64

Implementors§