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

Calculate the median of each column a Matrix.

This function calculates the median of each column of a matrix by first sorting the elements and locating the middle in a single column, and then looping over all columns.

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