28 lines
707 B
Plaintext
28 lines
707 B
Plaintext
|
|
{{alias}}()
|
|
Returns a list of ndarray index modes.
|
|
|
|
The output array contains the following modes:
|
|
|
|
- throw: specifies that a function should throw an error when an index is
|
|
outside a restricted interval.
|
|
- wrap: specifies that a function should wrap around an index using modulo
|
|
arithmetic.
|
|
- clamp: specifies that a function should set an index less than zero to
|
|
zero (minimum index) and set an index greater than a maximum index value to
|
|
the maximum possible index.
|
|
|
|
Returns
|
|
-------
|
|
out: Array<string>
|
|
List of ndarray index modes.
|
|
|
|
Examples
|
|
--------
|
|
> var out = {{alias}}()
|
|
[ 'throw', 'clamp', 'wrap' ]
|
|
|
|
See Also
|
|
--------
|
|
|