Trait SolveTridiagonalInplace

Source
pub trait SolveTridiagonalInplace<A: Scalar, D: Dimension> {
    // Required methods
    fn solve_tridiagonal_inplace<'a, S: DataMut<Elem = A>>(
        &self,
        b: &'a mut ArrayBase<S, D>,
    ) -> Result<&'a mut ArrayBase<S, D>>;
    fn solve_t_tridiagonal_inplace<'a, S: DataMut<Elem = A>>(
        &self,
        b: &'a mut ArrayBase<S, D>,
    ) -> Result<&'a mut ArrayBase<S, D>>;
    fn solve_h_tridiagonal_inplace<'a, S: DataMut<Elem = A>>(
        &self,
        b: &'a mut ArrayBase<S, D>,
    ) -> Result<&'a mut ArrayBase<S, D>>;
}

Required Methodsยง

Source

fn solve_tridiagonal_inplace<'a, S: DataMut<Elem = A>>( &self, b: &'a mut ArrayBase<S, D>, ) -> Result<&'a mut ArrayBase<S, D>>

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.

Source

fn solve_t_tridiagonal_inplace<'a, S: DataMut<Elem = A>>( &self, b: &'a mut ArrayBase<S, D>, ) -> Result<&'a mut ArrayBase<S, D>>

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.

Source

fn solve_h_tridiagonal_inplace<'a, S: DataMut<Elem = A>>( &self, b: &'a mut ArrayBase<S, D>, ) -> Result<&'a mut ArrayBase<S, D>>

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.

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<A, S> SolveTridiagonalInplace<A, Dim<[usize; 2]>> for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: Data<Elem = A>,

Sourceยง

fn solve_tridiagonal_inplace<'a, Sb>( &self, rhs: &'a mut ArrayBase<Sb, Ix2>, ) -> Result<&'a mut ArrayBase<Sb, Ix2>>
where Sb: DataMut<Elem = A>,

Sourceยง

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

Sourceยง

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

Implementorsยง