MatrixTrace method

  1. @override
double MatrixTrace(
  1. Matrix mat
)
override

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

Implementation

@override
double MatrixTrace(
  Matrix mat,
) => _ffi.MatrixTrace(
  Matrix$.Ref1(mat).asNativePointer<MatrixC>().ref,
);