Calculate trace of a matrix. More...
Go to the source code of this file.
Functions | |
template<class T > | |
T | vnl_trace (vnl_matrix< T > const &M) |
Calculate trace of a matrix. | |
template<class T , unsigned int N1, unsigned int N2> | |
T | vnl_trace (vnl_matrix_fixed< T, N1, N2 > const &M) |
Calculate trace of a matrix. |
Calculate trace of a matrix.
Modifications LSB (Manchester) 19/3/01 Documentation tidied Peter Vanroose 27-Jun-2003 made inline and added trace(matrix_fixed)
Definition in file vnl_trace.h.
T vnl_trace | ( | vnl_matrix< T > const & | M | ) |
Calculate trace of a matrix.
Definition at line 24 of file vnl_trace.h.
T vnl_trace | ( | vnl_matrix_fixed< T, N1, N2 > const & | M | ) |
Calculate trace of a matrix.
Definition at line 36 of file vnl_trace.h.