QR

Trait QR 

Source
pub trait QR<T> {
    // Required methods
    fn qr_overwrite<L: Layout, Lq: Layout, Lr: Layout>(
        &self,
        a: &mut DSlice<T, 2, L>,
        q: &mut DSlice<T, 2, Lq>,
        r: &mut DSlice<T, 2, Lr>,
    );
    fn qr<L: Layout>(
        &self,
        a: &mut DSlice<T, 2, L>,
    ) -> (DTensor<T, 2>, DTensor<T, 2>);
}
Expand description

QR decomposition for orthogonal-triangular factorization

Required Methods§

Source

fn qr_overwrite<L: Layout, Lq: Layout, Lr: Layout>( &self, a: &mut DSlice<T, 2, L>, q: &mut DSlice<T, 2, Lq>, r: &mut DSlice<T, 2, Lr>, )

Compute QR decomposition overwriting existing matrices

Source

fn qr<L: Layout>( &self, a: &mut DSlice<T, 2, L>, ) -> (DTensor<T, 2>, DTensor<T, 2>)

Compute QR decomposition with new allocated matrices

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.

Implementors§