mean_std_dev
Copyright (C) 2005 IENT-RWTH Aachen
template<class G> inline pair<PROMOTE2(float,typename Vector<G>::const_value_type),PROMOTE2(float,typename Vector<G>::const_value_type)> mean_std_dev(const Vector<G> &X)
template<class G> inline pair<PROMOTE2(float,typename Matrix<G>::const_value_type),PROMOTE2(float,typename Matrix<G>::const_value_type)> mean_std_dev(const Matrix<G> &X)
Average and standard deviation at once
Returns
A pair whose first value contains the mean, and whose second value contains the standard deviation