template<class G> inline typename Vector<G>::const_value_type sum(const Vector<G> &X) template<class G> inline typename Matrix<G>::const_value_type sum(const Matrix<G> &X)
Sum of all values