Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
numpy identity matrix
Asami
Programming language:
Whatever
2021-07-19 03:12:54
0
Q:
numpy identity matrix
Carolyn Shyne
Code:
Whatever
2021-09-18 01:02:03
>>> np.identity(3) array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]])
2
Tags
matrix
Related
transpose matrices numpy
what is the transpose of a matrix
normalize rows in matrix numpy
what is transpose of a matrix
finding eigen values and eigen vectors of a matrix in matlab
element assignment numpy matrix
numpy log
reversa a matrix in matlab
New to Communities?
Join the community