pub trait QRHouseholder: Matrix {
type OutputQ;
type OutputR;
// Required method
fn qr_householder(&self) -> (Self::OutputQ, Self::OutputR);
}
Required Associated Types§
Required Methods§
Sourcefn qr_householder(&self) -> (Self::OutputQ, Self::OutputR)
fn qr_householder(&self) -> (Self::OutputQ, Self::OutputR)
Returns the Householder QR-decomposition of the given matrix
A = QR
§Examples
let a = [
[1.0, 2.0],
[3.0, 4.0]
];
let (q, r) = a.qr_householder();
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.