Function uw12::linalg::trace

Function Documentation

inline double uw12::linalg::trace(const Mat &mat)

Compute the trace of matrix mat