trace

final Double trace()

Calculate the trace of this matrix.

Return

the trace of this matrix.