src/tool-pccount.cpp
void Tool_pccount::setFactorNormalize(void) {
	m_factor = 0.0;
	for (int i=0; i<(int)m_counts[0].size(); i++) {
		m_factor += m_counts[0][i];
	}
}
//////////////////////////////
//
// Tool_pccount::setFactorNormalize -- normalize by the sum of all pitch class values.
//
:setFactorNormalize -- normalize by the sum of all pitch class values.
: setFactorNormalize -- normalize by the sum of all pitch class values .
void Tool_pccount::setFactorNormalize(void) {
	m_factor = 0.0;
	for (int i=0; i<(int)m_counts[0].size(); i++) {
		m_factor += m_counts[0][i];
	}
}
void Tool_pccount :: setFactorNormalize ( void ) { m_factor = 0.0 ; for ( int i = 0 ; i < ( int ) m_counts [ 0 ] . size ( ) ; i ++ ) { m_factor += m_counts [ 0 ] [ i ] ; } }
Tool_pccount::setFactorNormalize -- normalize by the sum of all pitch class values.
Tool_pccount :: setFactorNormalize -- normalize by the sum of all pitch class values .