numel {matlab} | R Documentation |
Provides number of elements in array A
or subscripted array expression.
numel(A, varargin)
A |
object of which to determine the number of elements |
varargin |
unimplemented |
Returns prod(size(A))
.
P. Roebuck proebuck1701@gmail.com
numel(2:9) # 8
numel(magic(4)) # 16