Statistica Visual Basic Library of Matrix Functions - MatrixGetDiagonal (Matrix, DiagVector)

Parameter Description
Matrix name of source data matrix (see Arrays in functions)
DiagVector destination vector (see Arrays in functions) to receive values in the main diagonal from source matrix

The MatrixGetColumn function will copy the values from the main diagonal of the specified source Matrix (see also Arrays in functions) into the destination vector specified as DiagVector.

Related topics