Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy ndarray to matrix

m = np.asmatrix([[1,2,3],[4,5,6],[7,8,9]])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy #ndarray #matrix
ADD COMMENT
Topic
Name
3+2 =