DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Trace

Declaration: TMatrix.Trace: double;
The method Trace calculates the trace of the (quadratic) matrix. Note that the trace is defined for quadratic matrices only; in the case of a non-quadratic matrix the method Trace returns a zero value.