Scythe-1.0.3
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO, matrix_style PS>
Matrix<T,RO,RS> scythe::modec ( const Matrix< T, PO, PS > &  A)

Calculate the mode of the columns of a Matrix.

This function calculates the mode of the columns of a matrix by determining which value in a single column of the matrix occurs most frequently, and then looping over all columns.

Parameters:
AThe matrix whose modes are of interest.
See also:
mode(const Matrix<T,PO,PS> &A)
meanc(const Matrix<T,PO,PS> &A)
medianc(const Matrix<T,PO,PS> &A)

References pow().