Matrix.Trace Method

function Trace: TCplx;

Matrix trace.

Returns: TCplx (complex) - the trace of the calling matrix.

Remarks:

If the calling matrix Matrix.Complex property is false, the imaginary part is set to zero.