Trait linfa_linalg::triangular::SolveTriangular

source ·
pub trait SolveTriangular<B> {
    type Output;

    // Required method
    fn solve_triangular(&self, b: &B, uplo: UPLO) -> Result<Self::Output>;
}
Expand description

Solves a triangular system

Required Associated Types§

Required Methods§

source

fn solve_triangular(&self, b: &B, uplo: UPLO) -> Result<Self::Output>

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

Implementations on Foreign Types§

source§

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

source§

type Output = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

fn solve_triangular( &self, b: &ArrayBase<So, Ix2>, uplo: UPLO, ) -> Result<Self::Output>

Implementors§