Function householder_hm (o2scl_linalg)¶
-
template<class vec_t, class mat_t>
void o2scl_linalg::householder_hm(const size_t M, const size_t N, double tau, const vec_t &v, mat_t &A)¶ Apply a Householder transformation \( (v,\tau) \) to matrix \( A \) of size
(M,N)
The vector
v
must have at leastN
entries, with the exception that the vector elementv[0]
is never referenced by this function.