Difference between revisions of "CoCoA:Identity"
From ApCoCoAWiki
(pushing XML rev. 1.46, again) |
(No difference)
|
Latest revision as of 10:02, 24 October 2007
Identity
the identity matrix
Description
This function returns the NxN identity matrix.
Example
Identity(3); Mat([ [1, 0, 0], [0, 1, 0], [0, 0, 1] ]) -------------------------------
Syntax
Identity(N:INT):MAT
<type>matrix</type>