time-to-botec/squiggle/node_modules/@stdlib/ndarray/base/numel/docs/repl.txt

23 lines
315 B
Plaintext
Raw Normal View History

{{alias}}( shape )
Returns the number of elements in an array.
Parameters
----------
shape: Array<integer>
Array shape.
Returns
-------
n: integer
Number of elements.
Examples
--------
> var n = {{alias}}( [ 3, 3, 3 ] )
27
See Also
--------