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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ The function accepts the following `options`:
174
174
-**dtype**: default output array data type. Must be a [real-valued floating-point data type][@stdlib/array/typed-real-float-dtypes] or "generic". Default: `'float64'`.
175
175
-**order**: default array order (i.e., memory layout), which is either `row-major` (C-style) or `column-major` (Fortran-style). Default: `'row-major'`.
176
176
-**mode**: default specifying how to handle indices which exceed array dimensions. For a list of supported modes, see [`ndarray`][@stdlib/ndarray/ctor]. Default: `'throw'`.
177
-
-**submode**: default specifying for each dimension how to handle subscripts which exceed array dimensions. If the returned function is provided fewer modes than dimensions, an [ndarray][@stdlib/ndarray/ctor] instance recycles modes using modulo arithmetic. Default: `[ options.mode ]`.
177
+
-**submode**: default specifying for each dimension how to handle subscripts which exceed array dimensions. If the number of modes is less than the number of dimensions, an [ndarray][@stdlib/ndarray/ctor] instance recycles modes using modulo arithmetic. Default: `[ options.mode ]`.
178
178
-**readonly**: default indicating whether an array should be **read-only**. Default: `false`.
179
179
180
180
To use a custom PRNG as the underlying source of uniformly distributed pseudorandom numbers, set the `prng` option.
@@ -208,7 +208,7 @@ The returned function accepts the following `options`, each of which overrides t
208
208
-**dtype**: output array data type. Must be a [real-valued floating-point data type][@stdlib/array/typed-real-float-dtypes] or "generic".
209
209
-**order**: array order (i.e., memory layout), which is either `row-major` (C-style) or `column-major` (Fortran-style).
210
210
-**mode**: specifies how to handle indices which exceed array dimensions. For a list of supported modes, see [`ndarray`][@stdlib/ndarray/ctor].
211
-
-**submode**: a mode array which specifies for each dimension how to handle subscripts which exceed array dimensions. If provided fewer modes than dimensions, an [ndarray][@stdlib/ndarray/ctor] instance recycles modes using modulo arithmetic.
211
+
-**submode**: a mode array which specifies for each dimension how to handle subscripts which exceed array dimensions. If the number of modes is less than the number of dimensions, an [ndarray][@stdlib/ndarray/ctor] instance recycles modes using modulo arithmetic.
212
212
-**readonly**: `boolean` indicating whether an array should be **read-only**.
213
213
214
214
To override the default output array data type, set the `dtype` option.
0 commit comments