Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np array size

x = np.zeros((3, 5, 2), dtype=np.complex128)
>>> x.size
30
>>> np.prod(x.shape)
30
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #np #array #size
ADD COMMENT
Topic
Name
8+7 =