Skip to content

Commit 30cccee

Browse files
committed
Auto-generated commit
1 parent a563c7b commit 30cccee

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-12-21)
7+
## Unreleased (2025-12-22)
88

99
<section class="features">
1010

@@ -137,6 +137,7 @@ A total of 10 issues were closed in this release:
137137

138138
<details>
139139

140+
- [`6260a0a`](https://github.com/stdlib-js/stdlib/commit/6260a0a2b3a065eb4660697276fe15726a64a1e2) - **docs:** correct parameter descriptions in `random/weibull` _(by Philipp Burckhardt)_
140141
- [`7f63ca2`](https://github.com/stdlib-js/stdlib/commit/7f63ca2e79dfec53d1424d7c29704f0ec4cd7af7) - **bench:** reduce maximum array size _(by Athan Reines)_
141142
- [`0783b86`](https://github.com/stdlib-js/stdlib/commit/0783b86b9ade65f21c5805579c3201ae0436d8d0) - **build:** reduce maximum size _(by Athan Reines)_
142143
- [`4bf3633`](https://github.com/stdlib-js/stdlib/commit/4bf36333ac1de0c8bf338f0cfc98f8b305200778) - **test:** guard against edge case _(by Athan Reines)_

weibull/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ var arr = weibull( [ 3, 3 ], 2.0, 5.0 );
4242
The function has the following parameters:
4343

4444
- **shape**: output shape.
45-
- **k**: scale parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the specified output shape.
46-
- **lambda**: shape parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the specified output shape.
45+
- **k**: shape parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the specified output shape.
46+
- **lambda**: scale parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the specified output shape.
4747
- **options**: function options.
4848

4949
When provided scalar distribution parameters, every element in the output [ndarray][@stdlib/ndarray/ctor] is drawn from the same distribution. To generate pseudorandom numbers drawn from different distributions, provide distribution parameter arguments as [ndarrays][@stdlib/ndarray/ctor]. The following example demonstrates broadcasting an [ndarray][@stdlib/ndarray/ctor] containing distribution parameters to generate sub-matrices drawn from different distributions.
@@ -123,8 +123,8 @@ var bool = ( v === out );
123123

124124
The method has the following parameters:
125125

126-
- **k**: scale parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the output [ndarray][@stdlib/ndarray/ctor].
127-
- **lambda**: shape parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the output [ndarray][@stdlib/ndarray/ctor].
126+
- **k**: shape parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the output [ndarray][@stdlib/ndarray/ctor].
127+
- **lambda**: scale parameter. May be either a scalar or an [ndarray][@stdlib/ndarray/ctor]. When providing an [ndarray][@stdlib/ndarray/ctor], the [ndarray][@stdlib/ndarray/ctor] must be [broadcast compatible][@stdlib/ndarray/base/broadcast-shapes] with the output [ndarray][@stdlib/ndarray/ctor].
128128
- **out**: output [ndarray][@stdlib/ndarray/ctor].
129129

130130
#### weibull.factory( \[options] )

weibull/docs/repl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
Array shape.
1010

1111
k: number|ndarray
12-
Scale parameter. If an ndarray, must be broadcast compatible with the
12+
Shape parameter. If an ndarray, must be broadcast compatible with the
1313
specified array shape.
1414

1515
lambda: number|ndarray
16-
Shape parameter. If an ndarray, must be broadcast compatible with the
16+
Scale parameter. If an ndarray, must be broadcast compatible with the
1717
specified array shape.
1818

1919
options: Object (optional)
@@ -67,11 +67,11 @@
6767
Parameters
6868
----------
6969
k: number|ndarray
70-
Scale parameter. If an ndarray, must be broadcast compatible with the
70+
Shape parameter. If an ndarray, must be broadcast compatible with the
7171
provided output array.
7272

7373
lambda: number|ndarray
74-
Shape parameter. If an ndarray, must be broadcast compatible with the
74+
Scale parameter. If an ndarray, must be broadcast compatible with the
7575
provided output array.
7676

7777
out: ndarray

weibull/docs/types/index.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ interface RandomFunction extends PRNG {
126126
* Returns an ndarray containing pseudorandom numbers drawn from a Weibull distribution.
127127
*
128128
* @param shape - output shape
129-
* @param k - scale parameter
130-
* @param lambda - shape parameter
129+
* @param k - shape parameter
130+
* @param lambda - scale parameter
131131
* @param options - function options
132132
* @throws distribution parameters and the output shape must be broadcast compatible
133133
* @returns output ndarray
@@ -137,8 +137,8 @@ interface RandomFunction extends PRNG {
137137
/**
138138
* Fills an ndarray with pseudorandom numbers drawn from a Weibull distribution.
139139
*
140-
* @param k - scale parameter
141-
* @param lambda - shape parameter
140+
* @param k - shape parameter
141+
* @param lambda - scale parameter
142142
* @param out - output ndarray
143143
* @throws distribution parameters and the output ndarray must be broadcast compatible
144144
* @returns output ndarray
@@ -154,8 +154,8 @@ interface Random extends PRNG {
154154
* Returns an ndarray containing pseudorandom numbers drawn from a Weibull distribution.
155155
*
156156
* @param shape - output shape
157-
* @param k - scale parameter
158-
* @param lambda - shape parameter
157+
* @param k - shape parameter
158+
* @param lambda - scale parameter
159159
* @param options - function options
160160
* @throws distribution parameters and the output shape must be broadcast compatible
161161
* @returns output ndarray
@@ -169,8 +169,8 @@ interface Random extends PRNG {
169169
/**
170170
* Fills an ndarray with pseudorandom numbers drawn from a Weibull distribution.
171171
*
172-
* @param k - scale parameter
173-
* @param lambda - shape parameter
172+
* @param k - shape parameter
173+
* @param lambda - scale parameter
174174
* @param out - output ndarray
175175
* @throws distribution parameters and the output ndarray must be broadcast compatible
176176
* @returns output ndarray
@@ -216,8 +216,8 @@ interface Random extends PRNG {
216216
* Generates pseudorandom numbers drawn from a Weibull distribution.
217217
*
218218
* @param shape - output shape
219-
* @param k - scale parameter
220-
* @param lambda - shape parameter
219+
* @param k - shape parameter
220+
* @param lambda - scale parameter
221221
* @param options - function options
222222
* @throws distribution parameters and the output shape must be broadcast compatible
223223
* @returns output ndarray

weibull/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ var factory = require( './factory.js' );
3131
* @name weibull
3232
* @type {Function}
3333
* @param {NonNegativeIntegerArray} shape - output ndarray shape
34-
* @param {(PositiveNumber|ndarrayLike)} k - scale parameter
35-
* @param {(PositiveNumber|ndarrayLike)} lambda - shape parameter
34+
* @param {(PositiveNumber|ndarrayLike)} k - shape parameter
35+
* @param {(PositiveNumber|ndarrayLike)} lambda - scale parameter
3636
* @param {Options} [options] - options
3737
* @param {string} [options.dtype] - output ndarray data type
3838
* @param {string} [options.order="row-major"] - memory layout (either row-major or column-major)

0 commit comments

Comments
 (0)