You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: array/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,7 @@ The function accepts the following `options`:
114
114
-**mode**: specifies how to handle indices which exceed array dimensions.
115
115
116
116
-`throw`: specifies that an [`ndarray`][@stdlib/ndarray/ctor] instance should throw an error when an index exceeds array dimensions.
117
+
-`normalize`: specifies that an [`ndarray`][@stdlib/ndarray/ctor] instance should normalize negative indices and throw an error when an index exceeds array dimensions.
117
118
-`wrap`: specifies that an [`ndarray`][@stdlib/ndarray/ctor] instance should wrap around an index exceeding array dimensions using modulo arithmetic.
118
119
-`clamp`: specifies that an [`ndarray`][@stdlib/ndarray/ctor] instance should set an index exceeding array dimensions to either `0` (minimum index) or the maximum index.
-`throw`: specifies that the function should throw an error when a linear index exceeds array dimensions.
60
-
-`wrap`: specifies that the function should wrap around a linear index exceeding array dimensions using modulo arithmetic.
61
-
-`clamp`: specifies that the function should set a linear index exceeding array dimensions to either `0` (minimum linear index) or the maximum linear index.
59
+
-**throw**: specifies that the function should throw an error when a linear index exceeds array dimensions.
60
+
-**normalize**: specifies that the function should normalize negative indices and should throw an error when a linear index exceeds array dimensions.
61
+
-**wrap**: specifies that the function should wrap around a linear index exceeding array dimensions using modulo arithmetic.
62
+
-**clamp**: specifies that the function should set a linear index exceeding array dimensions to either `0` (minimum linear index) or the maximum linear index.
0 commit comments