Trait QRHouseholder

Source
pub trait QRHouseholder: Matrix {
    type OutputQ;
    type OutputR;

    // Required method
    fn qr_householder(&self) -> (Self::OutputQ, Self::OutputR);
}

Required Associated Types§

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl<F: Float, const L: usize, const H: usize> QRHouseholder for [[Complex<F>; L]; H]
where Self: Matrix, [[Complex<F>; H]; H]: SquareMatrix,

Source§

type OutputQ = [[Complex<F>; H]; H]

Source§

type OutputR = [[Complex<F>; L]; H]

Source§

fn qr_householder(&self) -> (Self::OutputQ, Self::OutputR)

Source§

impl<const L: usize, const H: usize> QRHouseholder for [[f32; L]; H]
where Self: Matrix, [[Complex<f32>; L]; H]: QRHouseholder,

Source§

impl<const L: usize, const H: usize> QRHouseholder for [[f64; L]; H]
where Self: Matrix, [[Complex<f64>; L]; H]: QRHouseholder,

Implementors§