ndarray_linalg::qr

Trait QR

source
pub trait QR {
    type Q;
    type R;

    // Required method
    fn qr(&self) -> Result<(Self::Q, Self::R)>;
}
Expand description

QR decomposition for matrix reference

This creates copy due for reshaping array. To avoid copy and the matrix is square, please use QRSquare* traits.

Required Associated Types§

source

type Q

source

type R

Required Methods§

source

fn qr(&self) -> Result<(Self::Q, Self::R)>

Implementations on Foreign Types§

source§

impl<A, S> QR for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: Data<Elem = A>,

source§

type Q = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

type R = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

fn qr(&self) -> Result<(Self::Q, Self::R)>

Implementors§