Function householder_transform_subrow (o2scl_linalg)

O2scl : Function List

template<class mat_t>
double o2scl_linalg::householder_transform_subrow(mat_t &A, const size_t ir, const size_t ic, const size_t N)

Compute the Householder transform of a vector formed with the last n columns of a row of a matrix.

This performs a Householder transform of a vector defined by a row of a matrix A which starts at element A(ir,ic) and ends at element A(ir,N-1) If N-1 is equal to ic, this function quietly does nothing.