Skip to content
fn

lapack_householder_product_f32

void lapack_householder_product_f32(const float * H, const float * tau, float * Q_out, int m, int n, int k, int * info)

Single-precision Householder-product Q reconstruction.

Given the Householder-reflector form of QQ produced by sgeqrf_ (matrix HH + scalar coefficients τ\tau), materialises the first kk columns of QQ explicitly into Q_out.

References

LAPACK sorgqr_.

Parameters

Hconst float*
Row-major m×nm \times n reflector storage from sgeqrf_.
tauconst float*
Length-kk Householder scaling coefficients.
Q_outfloat*
Output orthonormal matrix, shape m×km \times k (row-major).
m, n, kint
Dimensions; usually k=min⁡(m,n)k = \min(m, n).
infoint*
LAPACK status word.