src/Convert-math.cpp
double Convert::coefficientOfVariationSample(const std::vector<double>& x) {
	double sd = Convert::standardDeviationSample(x);
	double mean = Convert::mean(x);
	return sd / mean;
}
//////////////////////////////
//
// Convert::coefficientOfVariationSample -- Standard deviation divided by
//    mean.  From: Patel, Iversen & Rosenberg (2006): Comparing the
//    rhythm and melody of speech and music: The case of British
//    English and French.  JASA 119(5), May 2006, pp. 3034-3047.
//
:coefficientOfVariationSample -- Standard deviation divided by
mean.  From: Patel, Iversen & Rosenberg (2006): Comparing the
rhythm and melody of speech and music: The case of British
English and French.
: coefficientOfVariationSample -- Standard deviation divided by mean . From : Patel Iversen & Rosenberg ( 2006 ) : Comparing the rhythm and melody of speech and music : The case of British English and French .
double Convert::coefficientOfVariationSample(const std::vector<double>& x) {
	double sd = Convert::standardDeviationSample(x);
	double mean = Convert::mean(x);
	return sd / mean;
}
double Convert :: coefficientOfVariationSample ( const std :: vector < double > & x ) { double sd = Convert :: standardDeviationSample ( x ) ; double mean = Convert :: mean ( x ) ; return sd / mean ; }
Convert::coefficientOfVariationSample -- Standard deviation divided by
mean.
Convert :: coefficientOfVariationSample -- Standard deviation divided by mean .