Trait linfa_linalg::triangular::IntoTriangular

source ·
pub trait IntoTriangular {
    // Required methods
    fn triangular_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>;
    fn into_triangular(self, uplo: UPLO) -> Result<Self>
       where Self: Sized;
}
Expand description

Transform square matrix into triangular matrix

Required Methods§

source

fn triangular_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>

Transform square matrix into a strict triangular matrix in place, zeroing out the other elements.

source

fn into_triangular(self, uplo: UPLO) -> Result<Self>
where Self: Sized,

Transform square matrix into a strict triangular matrix, zeroing out the other elements.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, S> IntoTriangular for ArrayBase<S, Ix2>
where A: Zero, S: DataMut<Elem = A>,

source§

fn into_triangular(self, uplo: UPLO) -> Result<Self>

source§

fn triangular_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>

Implementors§