17 #include "vnl/vnl_export.h" 26 for (
unsigned int i=0; i<N; ++i)
33 template <
class T,
unsigned int N1,
unsigned int N2>
37 for (
unsigned int i=0; i<N1 && i<N2; ++i)
42 #endif // vnl_trace_h_ unsigned int cols() const
Return the number of columns.
An ordinary mathematical matrix.
Fixed size, stack-stored, space-efficient matrix.
An ordinary mathematical matrix.
T vnl_trace(vnl_matrix< T > const &M)
Calculate trace of a matrix.
unsigned int rows() const
Return the number of rows.