Skip to main content

hessenberg

Function hessenberg 

Source
pub fn hessenberg<T: Scalar, S: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
) -> Result<(Array2<T>, Array2<T>)>
Expand description

The Hessenberg form A = Q H Qᴴ (SciPy’s hessenberg with calc_q=True; LAPACK’s gehd2 and orghr): H is zero below its first subdiagonal, Q unitary. Reflector i zeros column i below row i + 1 and is applied from both sides. Returns (H, Q).