Scythe-1.0.3
|
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO, matrix_style PS>
Calculate the rank-order of each element in a Matrix. This function calculates the rank-order of each element in a Matrix, returning a Matrix in which the i'th element indicates the order position of the i'th element of M. The returned Matrix contains unsigned integers.
References scythe::Matrix< T_type, ORDER, STYLE >::begin_f(), scythe::Matrix_base< ORDER, STYLE >::cols(), scythe::Matrix< T_type, ORDER, STYLE >::end_f(), and scythe::Matrix_base< ORDER, STYLE >::rows(). Referenced by eigen(). |