Initializes array with the identity matrix.
It initializes the given array with the constant multiple of the identity matrix. Note that arrays to be passed must be 2D squared matrices.
Variables: scale (scalar) – A constant to be multiplied to identity matrices.
Initializes given array.
This method destructively changes the value of array. The derived class is required to implement this method. The algorithms used to make the new values depend on the concrete derived classes.
Parameters: array (N-dimensional array) – An array to be initialized by this initializer.