Scythe-1.0.3
|
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO, matrix_style PS>
Return the diagonal of a Matrix. This function returns the diagonal of a Matrix in a row vector.
References scythe::Matrix< T_type, ORDER, STYLE >::begin(), scythe::Matrix< T_type, ORDER, STYLE >::begin_f(), scythe::Matrix_base< ORDER, STYLE >::cols(), scythe::Matrix< T_type, ORDER, STYLE >::end(), min(), and scythe::Matrix_base< ORDER, STYLE >::rows(). |