trace abstract method
T
trace()
The trace of a square matrix A
, denoted tr(A)
, is defined to be the
sum of elements on the main diagonal (from the upper left to the lower
right).
Implementation
T trace();
The trace of a square matrix A
, denoted tr(A)
, is defined to be the
sum of elements on the main diagonal (from the upper left to the lower
right).
T trace();