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