Scythe-1.0.3
|
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO1, matrix_style PS1, matrix_order PO2, matrix_style PS2>
Locate rows for which a binary column vector equals 1. This function identifies all the rows of a Matrix M for which the binary column vector e has an element equal to 1, returning a Matrix
References scythe::Matrix< T_type, ORDER, STYLE >::begin_f(), scythe::Matrix_base< ORDER, STYLE >::cols(), copy(), scythe::Matrix< T_type, ORDER, STYLE >::end_f(), scythe::Matrix_base< ORDER, STYLE >::isColVector(), scythe::Matrix_base< ORDER, STYLE >::rows(), SCYTHE_CHECK_10, and scythe::Matrix_base< ORDER, STYLE >::size(). |