MxIdentity
- create an identity matrix

Matrix functions
(AmiBroker 60)


SYNTAX MxIdentity( size )
RETURNS Matrix
FUNCTION The function creates an identity matrix of defined size (square matrix with rows and columns equal to size argument filled with ones on the main diagonal and zeros elsewhere).
EXAMPLE m = MxIdentity( 5 ); // create 5x5 identity matrix
SEE ALSO Matrix() function , MxGetSize() function

References:

The MxIdentity function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.