Trait linfa_linalg::qr::QR

source ·
pub trait QR {
    type Decomp;

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

QR decomposition for matrix by reference

Required Associated Types§

Required Methods§

source

fn qr(&self) -> Result<Self::Decomp>

Decomposes the matrix into semi-orthogonal matrix Q and upper-triangular matrix R, such that Q * R yields the original matrix. Matrix rows must be equal or greater than number of columns.

Implementations on Foreign Types§

source§

impl<A: NdFloat, S: Data<Elem = A>> QR for ArrayBase<S, Ix2>

source§

type Decomp = QRDecomp<A, OwnedRepr<A>>

source§

fn qr(&self) -> Result<Self::Decomp>

Implementors§