numpy.matlib.identity(n, dtype=None)
Returns the square identity matrix of given size.
n : int
Size of the returned identity matrix.
dtype : data-type, optional
Data-type of the output. Defaults to float.
float
out : matrix
联系方式: