MatrixTrace method

double MatrixTrace(
  1. MatrixD mat
)

Implementation

double MatrixTrace(MatrixD mat) => mat.trace();