Function chop_small_elements (o2scl_linalg)

O2scl : Function List

template<class vec_t, class vec2_t>
void o2scl_linalg::chop_small_elements(size_t N, vec_t &d, vec2_t &f)

Zero out small elements in f according to the scales set in d.

The parameter N is the size of d.

Used in SV_decomp().