51 T my_min(
const T& v1,
const T& v2 ) {
return v1 < v2 ? v1 : v2; }
60 for( DVectorSlice::const_iterator itr = mu.begin() + 1; itr != mu.end(); )
61 min = my_min( min, std::fabs(*itr++) );
73 for( SpVectorSlice::const_iterator itr = mu.begin() + 1; itr != mu.end(); ++itr )
74 min = my_min( min, std::fabs(itr->value()) );
SparseVectorSlice< SparseElement< index_type, value_type > > SpVectorSlice
DenseLinAlgPack::VectorSliceTmpl< value_type > DVectorSlice
AbstractLinAlgPack::value_type value_type
value_type min_abs(const DVectorSlice &mu)
Minimum |mu(i)|.