eye()
Creates an array defining the idendity.
dim (int) – Dimnension of the idendity matrix.
ValueError – If the given dimension is not supported.
TypeError – If an input parameter has not the right type.
y – Idendity matrix as an instance of array.
array