MatrixTrace abstract method

double MatrixTrace(
  1. Matrix mat
)

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

Implementation

double MatrixTrace(
  Matrix mat,
);