C++
C#
VB
JScript
All

# std_dev

Copyright (C) 2005 IENT-RWTH Aachen

template<class G> inline typename promotion2_traits<float,typename Vector<G>::const_value_type>::value_type std_dev(const Vector<G> &X, const typename promotion2_traits<float,typename Vector<G>::const_value_type>::value_type &m)
template<class G> inline typename promotion2_traits<float,typename Matrix<G>::const_value_type>::value_type std_dev(const Matrix<G> &X, const typename promotion2_traits<float,typename Matrix<G>::const_value_type>::value_type &m)
template<class G> inline typename promotion2_traits<float,typename Vector<G>::const_value_type>::value_type std_dev(const Vector<G> &X)
template<class G> inline typename promotion2_traits<float,typename Matrix<G>::const_value_type>::value_type std_dev(const Matrix<G> &X)

Standard deviation

Parameters

m | Sum of the squared values of X, if already known
X | The array