Trait linxal::factorization::qr::QR
[−]
[src]
pub trait QR: LinalgScalar { fn compute_into(a: Array<Self, Ix2>) -> Result<QRFactors<Self>, QRError>; fn compute_q<D1>(mat: &ArrayBase<D1, Ix2>,
tau: &[Self],
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>; fn compute_r<D1>(mat: &ArrayBase<D1, Ix2>,
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>; fn compute<D1: Data>(a: &ArrayBase<D1, Ix2>)
-> Result<QRFactors<Self>, QRError> where D1: Data<Elem=Self> { ... } }
Trait defined on scalars to support QR-factorization.
Required Methods
fn compute_into(a: Array<Self, Ix2>) -> Result<QRFactors<Self>, QRError>
Return a QRFactors
structure, containing the QR
factorization of the input matrix A
.
Similar to compute
, but consumes the input.
fn compute_q<D1>(mat: &ArrayBase<D1, Ix2>,
tau: &[Self],
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>
tau: &[Self],
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>
Compute Q from raw parts.
Not intended to be used by end-users.
fn compute_r<D1>(mat: &ArrayBase<D1, Ix2>,
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>
k: usize)
-> Result<Array<Self, Ix2>, QRError> where D1: Data<Elem=Self>
Compute R from raw parts.
Not intended to be used by end-users.
Provided Methods
fn compute<D1: Data>(a: &ArrayBase<D1, Ix2>) -> Result<QRFactors<Self>, QRError> where D1: Data<Elem=Self>
Return a QRFactors
structure, containing the QR
factorization of the input matrix A
.