Skip to main content

hessenberg

Function hessenberg 

Source
pub fn hessenberg<T: LinalgScalar>(
    a: &[T],
    batch: usize,
    n: usize,
) -> (Vec<T>, Vec<T>)
Expand description

The reduction of each n x n matrix of a batch to upper Hessenberg form A = Q H Q^H (LAPACK’s gehrd with ilo = 1, ihi = n, as lax.linalg.hessenberg): H on and above the subdiagonal and the Householder reflectors below it, and their n - 1 factors tau.

§Panics

Panics if a does not have batch * n * n elements.