MatrixTrace method

double MatrixTrace(
  1. MatrixC mat
)

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

Implementation

double MatrixTrace(MatrixC mat)
  => _MatrixTrace(mat);