make_identity INDEX

MAKE_IDENTITY _ _ _ _ _ _ _ _ _ _ _ _ operator

syntax:

make_identity(<square\_size>)

<square\_size> :- a positive integer.

make_identitycreates the identity matrix of dimension <square\_size>.

examples:



make_identity(4); 

  [1  0  0  0]
  [          ]
  [0  1  0  0]
  [          ]
  [0  0  1  0]
  [          ]
  [0  0  0  1]

Related functions: diagonal.