Trait linfa_linalg::triangular::IntoTriangular
source · [−]pub trait IntoTriangular {
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
fn 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.
fn 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.