Skip to main content

SolveTriangular

Trait SolveTriangular 

Source
pub trait SolveTriangular<T, Rhs> {
    type Output;

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

Solves T X = B for a triangular T (only the uplo triangle is read) and a right-hand side that is a vector or a matrix.

Required Associated Types§

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Scalar, S: Data<Elem = T>, S2: Data<Elem = T>> SolveTriangular<T, ArrayBase<S2, Dim<[usize; 1]>>> for ArrayBase<S, Ix2>

Source§

type Output = ArrayBase<OwnedRepr<T>, Dim<[usize; 1]>>

Source§

fn solve_triangular( &self, uplo: UPLO, diag: Diag, b: &ArrayBase<S2, Ix1>, ) -> Result<Array1<T>>

Source§

impl<T: Scalar, S: Data<Elem = T>, S2: Data<Elem = T>> SolveTriangular<T, ArrayBase<S2, Dim<[usize; 2]>>> for ArrayBase<S, Ix2>

Source§

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

Source§

fn solve_triangular( &self, uplo: UPLO, diag: Diag, b: &ArrayBase<S2, Ix2>, ) -> Result<Array2<T>>

Implementors§