Function householder_transform_subcol (o2scl_linalg)

O2scl : Function List

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

Compute the Householder transform of a vector formed with n rows of a column of a matrix.

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

Used in QR_decomp() and SV_decomp_mod().