-
-
Notifications
You must be signed in to change notification settings - Fork 813
/
Copy pathrepl.txt
29 lines (22 loc) · 868 Bytes
/
repl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{{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.
- normalize: specifies that a function should normalize negative indices and
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', 'normalize', 'clamp', 'wrap' ]
See Also
--------