pub trait SolveTriangularInplace<B> {
    // Required method
    fn solve_triangular_inplace<'a>(
        &self,
        b: &'a mut B,
        uplo: UPLO,
    ) -> Result<&'a mut B>;

    // Provided method
    fn solve_triangular_into(&self, b: B, uplo: UPLO) -> Result<B> { ... }
}
Expand description

Solves a triangular system

Required Methods§

source

fn solve_triangular_inplace<'a>( &self, b: &'a mut B, uplo: UPLO, ) -> Result<&'a mut B>

Solves self * x = b where self is a triangular matrix, modifying b into x in-place.

Provided Methods§

source

fn solve_triangular_into(&self, b: B, uplo: UPLO) -> Result<B>

Solves self * x = b where self is a triangular matrix, consuming b.

Implementations on Foreign Types§

source§

impl<A: NdFloat, Si: Data<Elem = A>, So: DataMut<Elem = A>> SolveTriangularInplace<ArrayBase<So, Dim<[usize; 2]>>> for ArrayBase<Si, Ix2>

source§

fn solve_triangular_inplace<'a>( &self, b: &'a mut ArrayBase<So, Ix2>, uplo: UPLO, ) -> Result<&'a mut ArrayBase<So, Ix2>>

Implementors§