trace method
Returns the trace of this matrix (sum of diagonal elements: m0 + m5 + m10 + m15).
Implementation
double trace() => m0 + m5 + m10 + m15;
Returns the trace of this matrix (sum of diagonal elements: m0 + m5 + m10 + m15).
double trace() => m0 + m5 + m10 + m15;