DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy identity matrix
>>> np.identity(3) array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]])
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#numpy
#identity
#matrix
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit