Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

one matrix with np

>>> s = (2,2)
>>> np.ones(s)
array([[1.,  1.],
       [1.,  1.]])
 
PREVIOUS NEXT
Tagged: #matrix #np
ADD COMMENT
Topic
Name
3+4 =