Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy matrix

>>> np.array([[1, 2], [3, 4]])
array([[1, 2],
       [3, 4]])
#np.matrix is no longer recommended!
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy #matrix
ADD COMMENT
Topic
Name
5+5 =