Function dnrm2_subvec (o2scl_cblas)

O2scl : Function List

template<class vec_t>
double o2scl_cblas::dnrm2_subvec(const size_t N, const vec_t &X, const size_t ie)

Compute the norm of the vector X beginning with index ie and ending with index N-1.

Used in householder_transform().

If ie is greater than N-1 then the error handler will be called if O2SCL_NO_RANGE_CHECK is not defined.

Note

The suffix “2” on the function name indicates that this computes the “2-norm”, not that the norm is squared.