Statistica Visual Basic Library of Matrix Functions - MatrixIdentity (Matrix)

Parameter Description
Matrix name of square matrix (see Arrays in functions) to be set to identity matrix

The MatrixIdentity function will set the specified square source Matrix to the identity matrix (see also Arrays in functions), with values of 1 along the main diagonal, and 0 in all other elements of the matrix.

Related topics
MatrixInverse, MatrixGeneralPseudoInverse. 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.