MatrixTrace abstract method

double MatrixTrace(
  1. MatrixD mat
)

Get the trace of the matrix (sum of the values along the diagonal)

Implementation

double MatrixTrace(
  MatrixD mat,
);