Function ddot_subcol (o2scl_cblas)

O2scl : Function List

template<class mat_t, class vec_t>
double o2scl_cblas::ddot_subcol(const size_t M, const mat_t &X, const size_t ir, const size_t ic, const vec_t &y)

Compute \( r=x \cdot y \) for a subcolumn of a matrix.

Given the matrix X, define the vector x as the column with index ic. This function computes \( r=x \cdot y \) for elements in the vectors x and y from row ir to row (inclusive). All other elements in x and y are not referenced.

Used in householder_hv_sub().