The identity array is a square array with ones on the main diagonal.
number of rows (and columns) in n x n output.
Optional
Defaut is "array". The type of the output array. E.g., 'uint8' or Uint8Array.
n x n array with its main diagonal set to one, and all other elements 0
The identity array is a square array with ones on the main diagonal.