STATISTICA Visual Basic Library of Matrix Functions - MatrixTrace (Matrix, Result)




name of source data matrix (see Arrays in functions)


destination variable (see Variables in SVB)

The MatrixTrace function will calculate the trace of the source Matrix (see Arrays in functions), that is, the sum of the main diagonal elements, and place the result in the SVB variable specified as Result.

Related topics. MatrixInverse. For more information on using arrays, see Arrays in functions. For a complete list of matrix functions, see STATISTICA Visual Basic library of matrix functions.