Back to NDArray Operations
ndims
Number of dimensions of the array.
Syntax
ndims(a: NDArray) → r
Backends
TypeScriptnumwa
Description
Number of dimensions of the array.
Parameters
| Name | Description |
|---|---|
| a | Input array |
Returns
Int64 number of dimensions