Get the trace of the matrix (sum of the values along the diagonal)
@override double MatrixTrace( Matrix mat, ) => _ffi.MatrixTrace( Matrix$.Ref1(mat).asNativePointer<MatrixC>().ref, );