fn
householder_product_op
→TensorImplPtrint householder_product_op(const int & H, const int & tau)Python wrappers
Public Python APIs implemented by this engine symbol.Materialise the orthogonal from packed Householder reflectors.
Math
Shape
- Input
H:(m, n) - Input
tau:(k,)with - Output
Q:(m, k)
References
LAPACK *orgqr; Golub & Van Loan §5.1.2.
See Also
[[eig_op]] : Produces packed reflectors for general eigenvector reconstruction. [[eigh_op]] : Symmetric eigendecomp; reflectors come from a tridiagonal reduction step.
Parameters
Hconst TensorImplPtr&Packed reflector matrix of shape
(m, n) produced by a QR-type factorisation. Column stores reflector in the strict lower triangle below the diagonal (the diagonal entry of is implicitly and the slot is reused for ). Must be float-typed and non-null.tauconst TensorImplPtr&1-D scaling factors of length .
tau[i] is the scalar of the -th reflector . Must be float-typed and non-null.Returns
TensorImplPtrExplicit orthogonal matrix of shape (m, k) with the same dtype as H. Columns are orthonormal ().
Raises
LinAlgErrorWhen
H or tau is null / not float-typed.Notes
Output is a leaf node — autograd is not wired. Gradients flow through the calling QR / eig op rather than through this unpack step.