MxIdentity
|
Matrix functions |
| 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 |
The MxIdentity function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.