Function householder_hm (o2scl_linalg)

O2scl : Function List

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 least N entries, with the exception that the vector element v[0] is never referenced by this function.