Scythe-1.0.3
|
template<typename T , matrix_order PO, matrix_style PS>
Calculate the mode of a Matrix. This function calculates the mode of a matrix by determining which value of the matrix occurs with the highest frequency.
References scythe::Matrix< T_type, ORDER, STYLE >::begin(), scythe::Matrix< T_type, ORDER, STYLE >::end(), scythe::Matrix_base< ORDER, STYLE >::size(), and sort(). Referenced by scythe::rng< mersenne >::rnchypgeom(). |