Returns the square identity matrix of given size.
| Parameters : | n : int 
 dtype : data-type, optional 
  | 
|---|---|
| Returns : | out : matrix 
  | 
See also
Examples
>>> import numpy.matlib
>>> np.matlib.identity(3, dtype=int)
matrix([[1, 0, 0],
        [0, 1, 0],
        [0, 0, 1]])