Skip to main content

hessenberg

Function hessenberg 

Source
pub fn hessenberg<B: Backend, T: LinalgScalar>(
    x: &Array<B, T>,
) -> (Array<B, T>, Array<B, T>)
Expand description

The reduction of each square matrix to upper Hessenberg form x = q h q^H, as lax.linalg.hessenberg (LAPACK’s gehrd): h on and above the subdiagonal with the Householder reflectors of q below it, and their n - 1 factors (for householder_product and ormqr). Not differentiable, as in JAX.

§Panics

Panics if x is not a batch of square matrices.