8000 Auto-generated commit · stdlib-js/random-exponential@ee54eed · GitHub
[go: up one dir, main page]

Skip to content

Commit ee54eed

Browse files
committed
Auto-generated commit
1 parent c82b095 commit ee54eed

File tree

4 files changed

+999
-4
lines changed

4 files changed

+999
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The function accepts the following `options`:
9797

9898
- **dtype**: output array data type. Must be a [real-valued floating-point data type][@stdlib/array/typed-real-float-dtypes] or "generic". Default: `'float64'`.
9999
- **order**: array order (i.e., memory layout), which is either `row-major` (C-style) or `column-major` (Fortran-style). Default: `'row-major'`.
100-
- **mode**: specifies how to handle indices which exceed array dimensions (see [`ndarray`][@stdlib/ndarray/ctor]). Default: `'throw'`.
100+
- **mode**: specifies how to handle indices which exceed array dimensions. For a list of supported modes, see [`ndarray`][@stdlib/ndarray/ctor]. Default: `'throw'`.
101101
- **submode**: a mode array which specifies for each dimension how to handle subscripts which exceed array dimensions. If provided fewer modes than dimensions, the returned function recycles modes using modulo arithmetic. Default: `[ options.mode ]`.
102102
- **readonly**: `boolean` indicating whether an array should be **read-only**. Default: `false`.
103103

@@ -173,7 +173,7 @@ The function accepts the following `options`:
173173
- **copy**: `boolean` indicating whether to copy a provided pseudorandom number generator state. Setting this option to `false` allows sharing state between two or more pseudorandom number generators. Setting this option to `true` ensures that an underlying generator has exclusive control over its internal state. Default: `true`.
174174
- **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'`.
175175
- **order**: default array order (i.e., memory layout), which is either `row-major` (C-style) or `column-major` (Fortran-style). Default: `'row-major'`.
176-
- **mode**: default specifying how to handle indices which exceed array dimensions (see [`ndarray`][@stdlib/ndarray/ctor]). Default: `'throw'`.
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'`.
177177
- **submode**: default specifying for each dimension how to handle subscripts which exceed array dimensions. If provided fewer modes than dimensions, the constructor recycles modes using modulo arithmetic. Default: `[ options.mode ]`.
178178
- **readonly**: default indicating whether an array should be **read-only**. Default: `false`.
179179

@@ -207,7 +207,7 @@ The returned function accepts the following `options`, each of which overrides t
207207

208208
- **dtype**: output array data type. Must be a [real-valued floating-point data type][@stdlib/array/typed-real-float-dtypes] or "generic".
209209
- **order**: array order (i.e., memory layout), which is either `row-major` (C-style) or `column-major` (Fortran-style).
210-
- **mode**: specifies how to handle indices which exceed array dimensions (see [`ndarray`][@stdlib/ndarray/ctor]).
210+
- **mode**: specifies how to handle indices which exceed array dimensions. For a list of supported modes, see [`ndarray`][@stdlib/ndarray/ctor].
211211
- **submode**: a mode array which specifies for each dimension how to handle subscripts which exceed array dimensions. If provided fewer modes than dimensions, the returned function recycles modes using modulo arithmetic.
212212
- **readonly**: `boolean` indicating whether an array should be **read-only**.
213213

lib/factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function factory() {
241241
}
242242
// Create the output array:
243243
st = shape2strides( shape, ord );
244-
out = new ndarray( dt, buf, shape, st, 0, ord );
244+
out = new ndarray( dt, buf, shape, st, 0, ord, o );
245245

246246
// Fill the output array with pseudorandom numbers:
247247
unary( [ param1, out ], prng );

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"@stdlib/math-base-special-pow": "^0.0.7",
7575
"@stdlib/math-base-special-sqrt": "^0.0.8",
7676
"@stdlib/ndarray-array": "^0.0.9",
77+
"@stdlib/ndarray-base-from-scalar": "^0.0.1",
7778
"@stdlib/ndarray-to-array": "github:stdlib-js/ndarray-to-array#main",
7879
"@stdlib/ndarray-zeros": "^0.0.1",
7980
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",

0 commit comments

Comments
 (0)
0