pub trait QR_: Sized {
// Required methods
fn householder(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>;
fn q(l: MatrixLayout, a: &mut [Self], tau: &[Self]) -> Result<()>;
fn qr(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>;
}
Required Methods§
Sourcefn householder(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>
fn householder(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>
Execute Householder reflection as the first step of QR-decomposition
For C-continuous array, this will call LQ-decomposition of the transposed matrix $ A^T = LQ^T $
Sourcefn q(l: MatrixLayout, a: &mut [Self], tau: &[Self]) -> Result<()>
fn q(l: MatrixLayout, a: &mut [Self], tau: &[Self]) -> Result<()>
Reconstruct Q-matrix from Householder-reflectors
Sourcefn qr(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>
fn qr(l: MatrixLayout, a: &mut [Self]) -> Result<Vec<Self>>
Execute QR-decomposition at once
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.