Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§