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§
sourcefn triangular_inplace(&mut self, uplo: UPLO) -> Result<&mut Self>
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.
sourcefn into_triangular(self, uplo: UPLO) -> Result<Self>where
Self: Sized,
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.