@stdlib/random-array 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +43 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/docs/types/index.d.ts +9 -3
- package/lib/index.js +9 -0
- package/package.json +44 -139
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -102,6 +102,7 @@ The namespace contains the following:
|
|
|
102
102
|
- <span class="signature">[`randu( len[, options] )`][@stdlib/random/array/randu]</span><span class="delimiter">: </span><span class="description">create an array containing uniformly distributed pseudorandom numbers between `0` and `1`.</span>
|
|
103
103
|
- <span class="signature">[`rayleigh( len, sigma[, options] )`][@stdlib/random/array/rayleigh]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Rayleigh distribution.</span>
|
|
104
104
|
- <span class="signature">[`t( len, v[, options] )`][@stdlib/random/array/t]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Student's t-distribution.</span>
|
|
105
|
+
- <span class="signature">[`tools`][@stdlib/random/array/tools]</span><span class="delimiter">: </span><span class="description">pseudorandom number generator (PRNG) array creation function tools.</span>
|
|
105
106
|
- <span class="signature">[`triangular( len, a, b, c[, options] )`][@stdlib/random/array/triangular]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a triangular distribution.</span>
|
|
106
107
|
- <span class="signature">[`uniform( len, a, b[, options] )`][@stdlib/random/array/uniform]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a continuous uniform distribution.</span>
|
|
107
108
|
- <span class="signature">[`weibull( len, k, lambda[, options] )`][@stdlib/random/array/weibull]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Weibull distribution.</span>
|
|
@@ -118,15 +119,46 @@ The namespace contains the following:
|
|
|
118
119
|
|
|
119
120
|
## Examples
|
|
120
121
|
|
|
121
|
-
<!-- TODO: better examples -->
|
|
122
|
-
|
|
123
122
|
<!-- eslint no-undef: "error" -->
|
|
124
123
|
|
|
125
124
|
```javascript
|
|
126
|
-
var objectKeys = require( '@stdlib/utils-keys' );
|
|
127
125
|
var ns = require( '@stdlib/random-array' );
|
|
128
126
|
|
|
129
|
-
|
|
127
|
+
// Generate arrays with ten random numbers drawn from the respective distributions:
|
|
128
|
+
var out = ns.arcsine( 10, 2.0, 5.0 );
|
|
129
|
+
// returns <Float64Array>
|
|
130
|
+
|
|
131
|
+
out = ns.weibull( 10, 2.0, 5.0 );
|
|
132
|
+
// returns <Float64Array>
|
|
133
|
+
|
|
134
|
+
out = ns.laplace( 10, 2.0, 5.0 );
|
|
135
|
+
// returns <Float64Array>
|
|
136
|
+
|
|
137
|
+
// Factory methods:
|
|
138
|
+
|
|
139
|
+
// 1. Basic factory usage (no parameters):
|
|
140
|
+
var random = ns.arcsine.factory();
|
|
141
|
+
out = random( 10, 2.0, 5.0 );
|
|
142
|
+
// returns <Float64Array>
|
|
143
|
+
|
|
144
|
+
// 2. Factory with options (e.g., seed):
|
|
145
|
+
random = ns.arcsine.factory({
|
|
146
|
+
'seed': 1234
|
|
147
|
+
});
|
|
148
|
+
out = random( 10, 2.0, 5.0 );
|
|
149
|
+
// returns <Float64Array>
|
|
150
|
+
|
|
151
|
+
// 3. Factory with distribution parameters:
|
|
152
|
+
random = ns.arcsine.factory( 2.0, 5.0 );
|
|
153
|
+
out = random( 10 );
|
|
154
|
+
// returns <Float64Array>
|
|
155
|
+
|
|
156
|
+
// 4. Factory with both distribution parameters and options:
|
|
157
|
+
random = ns.arcsine.factory( 2.0, 5.0, {
|
|
158
|
+
'dtype': 'float32'
|
|
159
|
+
});
|
|
160
|
+
out = random( 10 );
|
|
161
|
+
// returns <Float32Array>
|
|
130
162
|
```
|
|
131
163
|
|
|
132
164
|
</section>
|
|
@@ -167,7 +199,7 @@ See [LICENSE][stdlib-license].
|
|
|
167
199
|
|
|
168
200
|
## Copyright
|
|
169
201
|
|
|
170
|
-
Copyright © 2016-
|
|
202
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
171
203
|
|
|
172
204
|
</section>
|
|
173
205
|
|
|
@@ -180,8 +212,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
180
212
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/random-array.svg
|
|
181
213
|
[npm-url]: https://npmjs.org/package/@stdlib/random-array
|
|
182
214
|
|
|
183
|
-
[test-image]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
184
|
-
[test-url]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml?query=branch:v0.
|
|
215
|
+
[test-image]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml/badge.svg?branch=v0.3.0
|
|
216
|
+
[test-url]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml?query=branch:v0.3.0
|
|
185
217
|
|
|
186
218
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-array/main.svg
|
|
187
219
|
[coverage-url]: https://codecov.io/github/stdlib-js/random-array?branch=main
|
|
@@ -193,8 +225,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
193
225
|
|
|
194
226
|
-->
|
|
195
227
|
|
|
196
|
-
[chat-image]: https://img.shields.io/
|
|
197
|
-
[chat-url]: https://
|
|
228
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
229
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
198
230
|
|
|
199
231
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
200
232
|
|
|
@@ -283,6 +315,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
283
315
|
|
|
284
316
|
[@stdlib/random/array/t]: https://www.npmjs.com/package/@stdlib/random-array-t
|
|
285
317
|
|
|
318
|
+
[@stdlib/random/array/tools]: https://www.npmjs.com/package/@stdlib/random-array-tools
|
|
319
|
+
|
|
286
320
|
[@stdlib/random/array/triangular]: https://www.npmjs.com/package/@stdlib/random-array-triangular
|
|
287
321
|
|
|
288
322
|
[@stdlib/random/array/uniform]: https://www.npmjs.com/package/@stdlib/random-array-uniform
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"arcsine",require('@stdlib/random-array-arcsine/dist'));r(e,"bernoulli",require('@stdlib/random-array-bernoulli/dist'));r(e,"beta",require('@stdlib/random-array-beta/dist'));r(e,"betaprime",require('@stdlib/random-array-betaprime/dist'));r(e,"binomial",require('@stdlib/random-array-binomial/dist'));r(e,"cauchy",require('@stdlib/random-array-cauchy/dist'));r(e,"chi",require('@stdlib/random-array-chi/dist'));r(e,"chisquare",require('@stdlib/random-array-chisquare/dist'));r(e,"cosine",require('@stdlib/random-array-cosine/dist'));r(e,"discreteUniform",require('@stdlib/random-array-discrete-uniform/dist'));r(e,"erlang",require('@stdlib/random-array-erlang/dist'));r(e,"exponential",require('@stdlib/random-array-exponential/dist'));r(e,"f",require('@stdlib/random-array-f/dist'));r(e,"frechet",require('@stdlib/random-array-frechet/dist'));r(e,"gamma",require('@stdlib/random-array-gamma/dist'));r(e,"geometric",require('@stdlib/random-array-geometric/dist'));r(e,"gumbel",require('@stdlib/random-array-gumbel/dist'));r(e,"hypergeometric",require('@stdlib/random-array-hypergeometric/dist'));r(e,"invgamma",require('@stdlib/random-array-invgamma/dist'));r(e,"kumaraswamy",require('@stdlib/random-array-kumaraswamy/dist'));r(e,"laplace",require('@stdlib/random-array-laplace/dist'));r(e,"levy",require('@stdlib/random-array-levy/dist'));r(e,"logistic",require('@stdlib/random-array-logistic/dist'));r(e,"lognormal",require('@stdlib/random-array-lognormal/dist'));r(e,"minstd",require('@stdlib/random-array-minstd/dist'));r(e,"minstdShuffle",require('@stdlib/random-array-minstd-shuffle/dist'));r(e,"mt19937",require('@stdlib/random-array-mt19937/dist'));r(e,"negativeBinomial",require('@stdlib/random-array-negative-binomial/dist'));r(e,"normal",require('@stdlib/random-array-normal/dist'));r(e,"pareto1",require('@stdlib/random-array-pareto-type1/dist'));r(e,"poisson",require('@stdlib/random-array-poisson/dist'));r(e,"randu",require('@stdlib/random-array-randu/dist'));r(e,"rayleigh",require('@stdlib/random-array-rayleigh/dist'));r(e,"t",require('@stdlib/random-array-t/dist'));r(e,"triangular",require('@stdlib/random-array-triangular/dist'));r(e,"uniform",require('@stdlib/random-array-uniform/dist'));r(e,"weibull",require('@stdlib/random-array-weibull/dist'));module.exports=e;
|
|
1
|
+
"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"arcsine",require('@stdlib/random-array-arcsine/dist'));r(e,"bernoulli",require('@stdlib/random-array-bernoulli/dist'));r(e,"beta",require('@stdlib/random-array-beta/dist'));r(e,"betaprime",require('@stdlib/random-array-betaprime/dist'));r(e,"binomial",require('@stdlib/random-array-binomial/dist'));r(e,"cauchy",require('@stdlib/random-array-cauchy/dist'));r(e,"chi",require('@stdlib/random-array-chi/dist'));r(e,"chisquare",require('@stdlib/random-array-chisquare/dist'));r(e,"cosine",require('@stdlib/random-array-cosine/dist'));r(e,"discreteUniform",require('@stdlib/random-array-discrete-uniform/dist'));r(e,"erlang",require('@stdlib/random-array-erlang/dist'));r(e,"exponential",require('@stdlib/random-array-exponential/dist'));r(e,"f",require('@stdlib/random-array-f/dist'));r(e,"frechet",require('@stdlib/random-array-frechet/dist'));r(e,"gamma",require('@stdlib/random-array-gamma/dist'));r(e,"geometric",require('@stdlib/random-array-geometric/dist'));r(e,"gumbel",require('@stdlib/random-array-gumbel/dist'));r(e,"hypergeometric",require('@stdlib/random-array-hypergeometric/dist'));r(e,"invgamma",require('@stdlib/random-array-invgamma/dist'));r(e,"kumaraswamy",require('@stdlib/random-array-kumaraswamy/dist'));r(e,"laplace",require('@stdlib/random-array-laplace/dist'));r(e,"levy",require('@stdlib/random-array-levy/dist'));r(e,"logistic",require('@stdlib/random-array-logistic/dist'));r(e,"lognormal",require('@stdlib/random-array-lognormal/dist'));r(e,"minstd",require('@stdlib/random-array-minstd/dist'));r(e,"minstdShuffle",require('@stdlib/random-array-minstd-shuffle/dist'));r(e,"mt19937",require('@stdlib/random-array-mt19937/dist'));r(e,"negativeBinomial",require('@stdlib/random-array-negative-binomial/dist'));r(e,"normal",require('@stdlib/random-array-normal/dist'));r(e,"pareto1",require('@stdlib/random-array-pareto-type1/dist'));r(e,"poisson",require('@stdlib/random-array-poisson/dist'));r(e,"randu",require('@stdlib/random-array-randu/dist'));r(e,"rayleigh",require('@stdlib/random-array-rayleigh/dist'));r(e,"t",require('@stdlib/random-array-t/dist'));r(e,"tools",require('@stdlib/random-array-tools/dist'));r(e,"triangular",require('@stdlib/random-array-triangular/dist'));r(e,"uniform",require('@stdlib/random-array-uniform/dist'));r(e,"weibull",require('@stdlib/random-array-weibull/dist'));module.exports=e;
|
|
2
2
|
/** @license Apache-2.0 */
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../lib/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name arcsine\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/arcsine}\n*/\nsetReadOnly( ns, 'arcsine', require( '@stdlib/random-array-arcsine' ) );\n\n/**\n* @name bernoulli\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/bernoulli}\n*/\nsetReadOnly( ns, 'bernoulli', require( '@stdlib/random-array-bernoulli' ) );\n\n/**\n* @name beta\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/beta}\n*/\nsetReadOnly( ns, 'beta', require( '@stdlib/random-array-beta' ) );\n\n/**\n* @name betaprime\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/betaprime}\n*/\nsetReadOnly( ns, 'betaprime', require( '@stdlib/random-array-betaprime' ) );\n\n/**\n* @name binomial\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/binomial}\n*/\nsetReadOnly( ns, 'binomial', require( '@stdlib/random-array-binomial' ) );\n\n/**\n* @name cauchy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/cauchy}\n*/\nsetReadOnly( ns, 'cauchy', require( '@stdlib/random-array-cauchy' ) );\n\n/**\n* @name chi\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/chi}\n*/\nsetReadOnly( ns, 'chi', require( '@stdlib/random-array-chi' ) );\n\n/**\n* @name chisquare\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/chisquare}\n*/\nsetReadOnly( ns, 'chisquare', require( '@stdlib/random-array-chisquare' ) );\n\n/**\n* @name cosine\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/cosine}\n*/\nsetReadOnly( ns, 'cosine', require( '@stdlib/random-array-cosine' ) );\n\n/**\n* @name discreteUniform\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/discrete-uniform}\n*/\nsetReadOnly( ns, 'discreteUniform', require( '@stdlib/random-array-discrete-uniform' ) );\n\n/**\n* @name erlang\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/erlang}\n*/\nsetReadOnly( ns, 'erlang', require( '@stdlib/random-array-erlang' ) );\n\n/**\n* @name exponential\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/exponential}\n*/\nsetReadOnly( ns, 'exponential', require( '@stdlib/random-array-exponential' ) );\n\n/**\n* @name f\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/f}\n*/\nsetReadOnly( ns, 'f', require( '@stdlib/random-array-f' ) );\n\n/**\n* @name frechet\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/frechet}\n*/\nsetReadOnly( ns, 'frechet', require( '@stdlib/random-array-frechet' ) );\n\n/**\n* @name gamma\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/gamma}\n*/\nsetReadOnly( ns, 'gamma', require( '@stdlib/random-array-gamma' ) );\n\n/**\n* @name geometric\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/geometric}\n*/\nsetReadOnly( ns, 'geometric', require( '@stdlib/random-array-geometric' ) );\n\n/**\n* @name gumbel\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/gumbel}\n*/\nsetReadOnly( ns, 'gumbel', require( '@stdlib/random-array-gumbel' ) );\n\n/**\n* @name hypergeometric\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/hypergeometric}\n*/\nsetReadOnly( ns, 'hypergeometric', require( '@stdlib/random-array-hypergeometric' ) );\n\n/**\n* @name invgamma\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/invgamma}\n*/\nsetReadOnly( ns, 'invgamma', require( '@stdlib/random-array-invgamma' ) );\n\n/**\n* @name kumaraswamy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/kumaraswamy}\n*/\nsetReadOnly( ns, 'kumaraswamy', require( '@stdlib/random-array-kumaraswamy' ) );\n\n/**\n* @name laplace\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/laplace}\n*/\nsetReadOnly( ns, 'laplace', require( '@stdlib/random-array-laplace' ) );\n\n/**\n* @name levy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/levy}\n*/\nsetReadOnly( ns, 'levy', require( '@stdlib/random-array-levy' ) );\n\n/**\n* @name logistic\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/logistic}\n*/\nsetReadOnly( ns, 'logistic', require( '@stdlib/random-array-logistic' ) );\n\n/**\n* @name lognormal\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/lognormal}\n*/\nsetReadOnly( ns, 'lognormal', require( '@stdlib/random-array-lognormal' ) );\n\n/**\n* @name minstd\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/minstd}\n*/\nsetReadOnly( ns, 'minstd', require( '@stdlib/random-array-minstd' ) );\n\n/**\n* @name minstdShuffle\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/minstd-shuffle}\n*/\nsetReadOnly( ns, 'minstdShuffle', require( '@stdlib/random-array-minstd-shuffle' ) );\n\n/**\n* @name mt19937\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/mt19937}\n*/\nsetReadOnly( ns, 'mt19937', require( '@stdlib/random-array-mt19937' ) );\n\n/**\n* @name negativeBinomial\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/negative-binomial}\n*/\nsetReadOnly( ns, 'negativeBinomial', require( '@stdlib/random-array-negative-binomial' ) );\n\n/**\n* @name normal\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/normal}\n*/\nsetReadOnly( ns, 'normal', require( '@stdlib/random-array-normal' ) );\n\n/**\n* @name pareto1\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/pareto-type1}\n*/\nsetReadOnly( ns, 'pareto1', require( '@stdlib/random-array-pareto-type1' ) );\n\n/**\n* @name poisson\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/poisson}\n*/\nsetReadOnly( ns, 'poisson', require( '@stdlib/random-array-poisson' ) );\n\n/**\n* @name randu\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/randu}\n*/\nsetReadOnly( ns, 'randu', require( '@stdlib/random-array-randu' ) );\n\n/**\n* @name rayleigh\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/rayleigh}\n*/\nsetReadOnly( ns, 'rayleigh', require( '@stdlib/random-array-rayleigh' ) );\n\n/**\n* @name t\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/t}\n*/\nsetReadOnly( ns, 't', require( '@stdlib/random-array-t' ) );\n\n/**\n* @name triangular\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/triangular}\n*/\nsetReadOnly( ns, 'triangular', require( '@stdlib/random-array-triangular' ) );\n\n/**\n* @name uniform\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/uniform}\n*/\nsetReadOnly( ns, 'uniform', require( '@stdlib/random-array-uniform' ) );\n\n/**\n* @name weibull\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/weibull}\n*/\nsetReadOnly( ns, 'weibull', require( '@stdlib/random-array-weibull' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"],
|
|
5
|
-
"mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,OAAQ,QAAS,2BAA4B,CAAE,EAShED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,MAAO,QAAS,0BAA2B,CAAE,EAS9DD,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,kBAAmB,QAAS,uCAAwC,CAAE,EASvFD,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,cAAe,QAAS,kCAAmC,CAAE,EAS9ED,EAAaC,EAAI,IAAK,QAAS,wBAAyB,CAAE,EAS1DD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,iBAAkB,QAAS,qCAAsC,CAAE,EASpFD,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,cAAe,QAAS,kCAAmC,CAAE,EAS9ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,OAAQ,QAAS,2BAA4B,CAAE,EAShED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,gBAAiB,QAAS,qCAAsC,CAAE,EASnFD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,mBAAoB,QAAS,wCAAyC,CAAE,EASzFD,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,UAAW,QAAS,mCAAoC,CAAE,EAS3ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,IAAK,QAAS,wBAAyB,CAAE,EAS1DD,EAAaC,EAAI,aAAc,QAAS,iCAAkC,CAAE,EAS5ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAKtE,OAAO,QAAUA",
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2023 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Top-level namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name arcsine\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/arcsine}\n*/\nsetReadOnly( ns, 'arcsine', require( '@stdlib/random-array-arcsine' ) );\n\n/**\n* @name bernoulli\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/bernoulli}\n*/\nsetReadOnly( ns, 'bernoulli', require( '@stdlib/random-array-bernoulli' ) );\n\n/**\n* @name beta\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/beta}\n*/\nsetReadOnly( ns, 'beta', require( '@stdlib/random-array-beta' ) );\n\n/**\n* @name betaprime\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/betaprime}\n*/\nsetReadOnly( ns, 'betaprime', require( '@stdlib/random-array-betaprime' ) );\n\n/**\n* @name binomial\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/binomial}\n*/\nsetReadOnly( ns, 'binomial', require( '@stdlib/random-array-binomial' ) );\n\n/**\n* @name cauchy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/cauchy}\n*/\nsetReadOnly( ns, 'cauchy', require( '@stdlib/random-array-cauchy' ) );\n\n/**\n* @name chi\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/chi}\n*/\nsetReadOnly( ns, 'chi', require( '@stdlib/random-array-chi' ) );\n\n/**\n* @name chisquare\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/chisquare}\n*/\nsetReadOnly( ns, 'chisquare', require( '@stdlib/random-array-chisquare' ) );\n\n/**\n* @name cosine\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/cosine}\n*/\nsetReadOnly( ns, 'cosine', require( '@stdlib/random-array-cosine' ) );\n\n/**\n* @name discreteUniform\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/discrete-uniform}\n*/\nsetReadOnly( ns, 'discreteUniform', require( '@stdlib/random-array-discrete-uniform' ) );\n\n/**\n* @name erlang\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/erlang}\n*/\nsetReadOnly( ns, 'erlang', require( '@stdlib/random-array-erlang' ) );\n\n/**\n* @name exponential\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/exponential}\n*/\nsetReadOnly( ns, 'exponential', require( '@stdlib/random-array-exponential' ) );\n\n/**\n* @name f\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/f}\n*/\nsetReadOnly( ns, 'f', require( '@stdlib/random-array-f' ) );\n\n/**\n* @name frechet\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/frechet}\n*/\nsetReadOnly( ns, 'frechet', require( '@stdlib/random-array-frechet' ) );\n\n/**\n* @name gamma\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/gamma}\n*/\nsetReadOnly( ns, 'gamma', require( '@stdlib/random-array-gamma' ) );\n\n/**\n* @name geometric\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/geometric}\n*/\nsetReadOnly( ns, 'geometric', require( '@stdlib/random-array-geometric' ) );\n\n/**\n* @name gumbel\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/gumbel}\n*/\nsetReadOnly( ns, 'gumbel', require( '@stdlib/random-array-gumbel' ) );\n\n/**\n* @name hypergeometric\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/hypergeometric}\n*/\nsetReadOnly( ns, 'hypergeometric', require( '@stdlib/random-array-hypergeometric' ) );\n\n/**\n* @name invgamma\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/invgamma}\n*/\nsetReadOnly( ns, 'invgamma', require( '@stdlib/random-array-invgamma' ) );\n\n/**\n* @name kumaraswamy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/kumaraswamy}\n*/\nsetReadOnly( ns, 'kumaraswamy', require( '@stdlib/random-array-kumaraswamy' ) );\n\n/**\n* @name laplace\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/laplace}\n*/\nsetReadOnly( ns, 'laplace', require( '@stdlib/random-array-laplace' ) );\n\n/**\n* @name levy\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/levy}\n*/\nsetReadOnly( ns, 'levy', require( '@stdlib/random-array-levy' ) );\n\n/**\n* @name logistic\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/logistic}\n*/\nsetReadOnly( ns, 'logistic', require( '@stdlib/random-array-logistic' ) );\n\n/**\n* @name lognormal\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/lognormal}\n*/\nsetReadOnly( ns, 'lognormal', require( '@stdlib/random-array-lognormal' ) );\n\n/**\n* @name minstd\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/minstd}\n*/\nsetReadOnly( ns, 'minstd', require( '@stdlib/random-array-minstd' ) );\n\n/**\n* @name minstdShuffle\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/minstd-shuffle}\n*/\nsetReadOnly( ns, 'minstdShuffle', require( '@stdlib/random-array-minstd-shuffle' ) );\n\n/**\n* @name mt19937\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/mt19937}\n*/\nsetReadOnly( ns, 'mt19937', require( '@stdlib/random-array-mt19937' ) );\n\n/**\n* @name negativeBinomial\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/negative-binomial}\n*/\nsetReadOnly( ns, 'negativeBinomial', require( '@stdlib/random-array-negative-binomial' ) );\n\n/**\n* @name normal\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/normal}\n*/\nsetReadOnly( ns, 'normal', require( '@stdlib/random-array-normal' ) );\n\n/**\n* @name pareto1\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/pareto-type1}\n*/\nsetReadOnly( ns, 'pareto1', require( '@stdlib/random-array-pareto-type1' ) );\n\n/**\n* @name poisson\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/poisson}\n*/\nsetReadOnly( ns, 'poisson', require( '@stdlib/random-array-poisson' ) );\n\n/**\n* @name randu\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/randu}\n*/\nsetReadOnly( ns, 'randu', require( '@stdlib/random-array-randu' ) );\n\n/**\n* @name rayleigh\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/rayleigh}\n*/\nsetReadOnly( ns, 'rayleigh', require( '@stdlib/random-array-rayleigh' ) );\n\n/**\n* @name t\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/t}\n*/\nsetReadOnly( ns, 't', require( '@stdlib/random-array-t' ) );\n\n/**\n* @name tools\n* @memberof ns\n* @readonly\n* @type {Namespace}\n* @see {@link module:@stdlib/random/array/tools}\n*/\nsetReadOnly( ns, 'tools', require( '@stdlib/random-array-tools' ) );\n\n/**\n* @name triangular\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/triangular}\n*/\nsetReadOnly( ns, 'triangular', require( '@stdlib/random-array-triangular' ) );\n\n/**\n* @name uniform\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/uniform}\n*/\nsetReadOnly( ns, 'uniform', require( '@stdlib/random-array-uniform' ) );\n\n/**\n* @name weibull\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/random/array/weibull}\n*/\nsetReadOnly( ns, 'weibull', require( '@stdlib/random-array-weibull' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"],
|
|
5
|
+
"mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,OAAQ,QAAS,2BAA4B,CAAE,EAShED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,MAAO,QAAS,0BAA2B,CAAE,EAS9DD,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,kBAAmB,QAAS,uCAAwC,CAAE,EASvFD,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,cAAe,QAAS,kCAAmC,CAAE,EAS9ED,EAAaC,EAAI,IAAK,QAAS,wBAAyB,CAAE,EAS1DD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,iBAAkB,QAAS,qCAAsC,CAAE,EASpFD,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,cAAe,QAAS,kCAAmC,CAAE,EAS9ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,OAAQ,QAAS,2BAA4B,CAAE,EAShED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,gBAAiB,QAAS,qCAAsC,CAAE,EASnFD,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,mBAAoB,QAAS,wCAAyC,CAAE,EASzFD,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,UAAW,QAAS,mCAAoC,CAAE,EAS3ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,EAAaC,EAAI,WAAY,QAAS,+BAAgC,CAAE,EASxED,EAAaC,EAAI,IAAK,QAAS,wBAAyB,CAAE,EAS1DD,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,EAAaC,EAAI,aAAc,QAAS,iCAAkC,CAAE,EAS5ED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAStED,EAAaC,EAAI,UAAW,QAAS,8BAA+B,CAAE,EAKtE,OAAO,QAAUA",
|
|
6
6
|
"names": ["setReadOnly", "ns"]
|
|
7
7
|
}
|
package/docs/types/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ import poisson = require( '@stdlib/random-array-poisson' );
|
|
|
54
54
|
import randu = require( '@stdlib/random-array-randu' );
|
|
55
55
|
import rayleigh = require( '@stdlib/random-array-rayleigh' );
|
|
56
56
|
import t = require( '@stdlib/random-array-t' );
|
|
57
|
+
import tools = require( '@stdlib/random-array-tools' );
|
|
57
58
|
import triangular = require( '@stdlib/random-array-triangular' );
|
|
58
59
|
import uniform = require( '@stdlib/random-array-uniform' );
|
|
59
60
|
import weibull = require( '@stdlib/random-array-weibull' );
|
|
@@ -324,7 +325,7 @@ interface Namespace {
|
|
|
324
325
|
* // returns <Float64Array>
|
|
325
326
|
*
|
|
326
327
|
* @example
|
|
327
|
-
* var random = ns.f.
|
|
328
|
+
* var random = ns.f.factory( 2.0, 5.0 );
|
|
328
329
|
*
|
|
329
330
|
* var out = random( 10 );
|
|
330
331
|
* // returns <Float64Array>
|
|
@@ -774,6 +775,11 @@ interface Namespace {
|
|
|
774
775
|
*/
|
|
775
776
|
t: typeof t;
|
|
776
777
|
|
|
778
|
+
/**
|
|
779
|
+
* Pseudorandom number generator array creation function tools.
|
|
780
|
+
*/
|
|
781
|
+
tools: typeof tools;
|
|
782
|
+
|
|
777
783
|
/**
|
|
778
784
|
* Returns an array containing pseudorandom numbers drawn from a triangular distribution.
|
|
779
785
|
*
|
|
@@ -821,8 +827,8 @@ interface Namespace {
|
|
|
821
827
|
* Returns an array containing pseudorandom numbers drawn from a Weibull distribution.
|
|
822
828
|
*
|
|
823
829
|
* @param len - array length
|
|
824
|
-
* @param k -
|
|
825
|
-
* @param lambda -
|
|
830
|
+
* @param k - shape parameter
|
|
831
|
+
* @param lambda - scale parameter
|
|
826
832
|
* @param options - function options
|
|
827
833
|
* @returns output array
|
|
828
834
|
*
|
package/lib/index.js
CHANGED
|
@@ -342,6 +342,15 @@ setReadOnly( ns, 'rayleigh', require( '@stdlib/random-array-rayleigh' ) );
|
|
|
342
342
|
*/
|
|
343
343
|
setReadOnly( ns, 't', require( '@stdlib/random-array-t' ) );
|
|
344
344
|
|
|
345
|
+
/**
|
|
346
|
+
* @name tools
|
|
347
|
+
* @memberof ns
|
|
348
|
+
* @readonly
|
|
349
|
+
* @type {Namespace}
|
|
350
|
+
* @see {@link module:@stdlib/random/array/tools}
|
|
351
|
+
*/
|
|
352
|
+
setReadOnly( ns, 'tools', require( '@stdlib/random-array-tools' ) );
|
|
353
|
+
|
|
345
354
|
/**
|
|
346
355
|
* @name triangular
|
|
347
356
|
* @memberof ns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/random-array",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Pseudorandom number generator array creation functions.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -16,17 +16,12 @@
|
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
18
|
"doc": "./docs",
|
|
19
|
-
"example": "./examples",
|
|
20
19
|
"lib": "./lib",
|
|
21
|
-
"
|
|
20
|
+
"scripts": "./scripts",
|
|
21
|
+
"dist": "./dist"
|
|
22
22
|
},
|
|
23
23
|
"types": "./docs/types",
|
|
24
|
-
"scripts": {
|
|
25
|
-
"test": "make test",
|
|
26
|
-
"test-cov": "make test-cov",
|
|
27
|
-
"examples": "make examples",
|
|
28
|
-
"benchmark": "make benchmark"
|
|
29
|
-
},
|
|
24
|
+
"scripts": {},
|
|
30
25
|
"homepage": "https://stdlib.io",
|
|
31
26
|
"repository": {
|
|
32
27
|
"type": "git",
|
|
@@ -36,137 +31,47 @@
|
|
|
36
31
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
37
32
|
},
|
|
38
33
|
"dependencies": {
|
|
39
|
-
"@stdlib/random-array-arcsine": "^0.2.
|
|
40
|
-
"@stdlib/random-array-bernoulli": "^0.2.
|
|
41
|
-
"@stdlib/random-array-beta": "^0.2.
|
|
42
|
-
"@stdlib/random-array-betaprime": "^0.2.
|
|
43
|
-
"@stdlib/random-array-binomial": "^0.2.
|
|
44
|
-
"@stdlib/random-array-cauchy": "^0.2.
|
|
45
|
-
"@stdlib/random-array-chi": "^0.2.
|
|
46
|
-
"@stdlib/random-array-chisquare": "^0.2.
|
|
47
|
-
"@stdlib/random-array-cosine": "^0.2.
|
|
48
|
-
"@stdlib/random-array-discrete-uniform": "^0.2.
|
|
49
|
-
"@stdlib/random-array-erlang": "^0.2.
|
|
50
|
-
"@stdlib/random-array-exponential": "^0.2.
|
|
51
|
-
"@stdlib/random-array-f": "^0.2.
|
|
52
|
-
"@stdlib/random-array-frechet": "^0.2.
|
|
53
|
-
"@stdlib/random-array-gamma": "^0.2.
|
|
54
|
-
"@stdlib/random-array-geometric": "^0.2.
|
|
55
|
-
"@stdlib/random-array-gumbel": "^0.2.
|
|
56
|
-
"@stdlib/random-array-hypergeometric": "^0.2.
|
|
57
|
-
"@stdlib/random-array-invgamma": "^0.2.
|
|
58
|
-
"@stdlib/random-array-kumaraswamy": "^0.2.
|
|
59
|
-
"@stdlib/random-array-laplace": "^0.2.
|
|
60
|
-
"@stdlib/random-array-levy": "^0.2.
|
|
61
|
-
"@stdlib/random-array-logistic": "^0.2.
|
|
62
|
-
"@stdlib/random-array-lognormal": "^0.2.
|
|
63
|
-
"@stdlib/random-array-minstd": "^0.2.
|
|
64
|
-
"@stdlib/random-array-minstd-shuffle": "^0.2.
|
|
65
|
-
"@stdlib/random-array-mt19937": "^0.2.
|
|
66
|
-
"@stdlib/random-array-negative-binomial": "^0.2.
|
|
67
|
-
"@stdlib/random-array-normal": "^0.2.
|
|
68
|
-
"@stdlib/random-array-pareto-type1": "^0.2.
|
|
69
|
-
"@stdlib/random-array-poisson": "^0.2.
|
|
70
|
-
"@stdlib/random-array-randu": "^0.2.
|
|
71
|
-
"@stdlib/random-array-rayleigh": "^0.2.
|
|
72
|
-
"@stdlib/random-array-t": "^0.2.
|
|
73
|
-
"@stdlib/random-array-
|
|
74
|
-
"@stdlib/random-array-
|
|
75
|
-
"@stdlib/random-array-
|
|
76
|
-
"@stdlib/
|
|
77
|
-
|
|
78
|
-
"devDependencies": {
|
|
79
|
-
"@stdlib/array-base-assert-contains": "^0.2.0",
|
|
80
|
-
"@stdlib/array-base-filled-by": "^0.1.0",
|
|
81
|
-
"@stdlib/array-ctors": "^0.1.0",
|
|
82
|
-
"@stdlib/array-defaults": "^0.2.0",
|
|
83
|
-
"@stdlib/array-dtypes": "^0.2.0",
|
|
84
|
-
"@stdlib/array-float32": "^0.2.0",
|
|
85
|
-
"@stdlib/array-float64": "^0.2.0",
|
|
86
|
-
"@stdlib/array-int32": "^0.2.0",
|
|
87
|
-
"@stdlib/array-nans": "^0.2.0",
|
|
88
|
-
"@stdlib/array-typed-real-ctors": "^0.2.0",
|
|
89
|
-
"@stdlib/array-typed-real-dtypes": "^0.2.0",
|
|
90
|
-
"@stdlib/array-typed-real-float-ctors": "^0.2.0",
|
|
91
|
-
"@stdlib/array-typed-real-float-dtypes": "^0.2.0",
|
|
92
|
-
"@stdlib/array-uint32": "^0.2.0",
|
|
93
|
-
"@stdlib/array-zeros": "^0.1.0",
|
|
94
|
-
"@stdlib/assert-has-own-property": "^0.2.0",
|
|
95
|
-
"@stdlib/assert-is-collection": "^0.2.0",
|
|
96
|
-
"@stdlib/assert-is-function": "^0.2.0",
|
|
97
|
-
"@stdlib/assert-is-int32array": "^0.2.0",
|
|
98
|
-
"@stdlib/assert-is-method-in": "^0.2.0",
|
|
99
|
-
"@stdlib/assert-is-nonnegative-integer": "^0.2.0",
|
|
100
|
-
"@stdlib/assert-is-plain-object": "^0.2.0",
|
|
101
|
-
"@stdlib/assert-is-string-array": "^0.2.0",
|
|
102
|
-
"@stdlib/assert-is-uint32array": "^0.2.0",
|
|
103
|
-
"@stdlib/console-log-each": "^0.1.0",
|
|
104
|
-
"@stdlib/constants-int32-max": "^0.2.0",
|
|
105
|
-
"@stdlib/constants-uint32-max": "^0.2.0",
|
|
106
|
-
"@stdlib/math-base-assert-is-nan": "^0.2.0",
|
|
107
|
-
"@stdlib/math-base-assert-is-nanf": "^0.2.0",
|
|
108
|
-
"@stdlib/math-base-special-pow": "^0.2.0",
|
|
109
|
-
"@stdlib/random-array-tools-binary": "^0.2.0",
|
|
110
|
-
"@stdlib/random-array-tools-binary-factory": "^0.2.0",
|
|
111
|
-
"@stdlib/random-array-tools-nullary": "^0.2.0",
|
|
112
|
-
"@stdlib/random-array-tools-ternary": "^0.2.0",
|
|
113
|
-
"@stdlib/random-array-tools-ternary-factory": "^0.2.0",
|
|
114
|
-
"@stdlib/random-array-tools-unary": "^0.2.0",
|
|
115
|
-
"@stdlib/random-array-tools-unary-factory": "^0.2.0",
|
|
116
|
-
"@stdlib/random-base-arcsine": "^0.1.0",
|
|
117
|
-
"@stdlib/random-base-bernoulli": "^0.1.0",
|
|
118
|
-
"@stdlib/random-base-beta": "^0.2.0",
|
|
119
|
-
"@stdlib/random-base-betaprime": "^0.2.0",
|
|
120
|
-
"@stdlib/random-base-binomial": "^0.1.0",
|
|
121
|
-
"@stdlib/random-base-cauchy": "^0.2.0",
|
|
122
|
-
"@stdlib/random-base-chi": "^0.2.0",
|
|
123
|
-
"@stdlib/random-base-chisquare": "^0.2.0",
|
|
124
|
-
"@stdlib/random-base-cosine": "^0.2.0",
|
|
125
|
-
"@stdlib/random-base-discrete-uniform": "^0.1.0",
|
|
126
|
-
"@stdlib/random-base-erlang": "^0.2.0",
|
|
127
|
-
"@stdlib/random-base-exponential": "^0.1.0",
|
|
128
|
-
"@stdlib/random-base-f": "^0.2.0",
|
|
129
|
-
"@stdlib/random-base-frechet": "^0.2.0",
|
|
130
|
-
"@stdlib/random-base-gamma": "^0.2.0",
|
|
131
|
-
"@stdlib/random-base-geometric": "^0.1.0",
|
|
132
|
-
"@stdlib/random-base-gumbel": "^0.2.0",
|
|
133
|
-
"@stdlib/random-base-hypergeometric": "^0.1.0",
|
|
134
|
-
"@stdlib/random-base-invgamma": "^0.2.0",
|
|
135
|
-
"@stdlib/random-base-kumaraswamy": "^0.2.0",
|
|
136
|
-
"@stdlib/random-base-laplace": "^0.2.0",
|
|
137
|
-
"@stdlib/random-base-levy": "^0.2.0",
|
|
138
|
-
"@stdlib/random-base-logistic": "^0.2.0",
|
|
139
|
-
"@stdlib/random-base-lognormal": "^0.2.0",
|
|
140
|
-
"@stdlib/random-base-minstd": "^0.1.0",
|
|
141
|
-
"@stdlib/random-base-minstd-shuffle": "^0.1.0",
|
|
142
|
-
"@stdlib/random-base-mt19937": "^0.2.0",
|
|
143
|
-
"@stdlib/random-base-negative-binomial": "^0.2.0",
|
|
144
|
-
"@stdlib/random-base-normal": "^0.1.0",
|
|
145
|
-
"@stdlib/random-base-pareto-type1": "^0.2.0",
|
|
146
|
-
"@stdlib/random-base-poisson": "^0.1.0",
|
|
147
|
-
"@stdlib/random-base-randu": "^0.1.0",
|
|
148
|
-
"@stdlib/random-base-rayleigh": "^0.2.0",
|
|
149
|
-
"@stdlib/random-base-t": "^0.2.0",
|
|
150
|
-
"@stdlib/random-base-triangular": "^0.1.0",
|
|
151
|
-
"@stdlib/random-base-uniform": "^0.1.0",
|
|
152
|
-
"@stdlib/random-base-weibull": "^0.2.0",
|
|
153
|
-
"@stdlib/strided-base-binary": "^0.2.0",
|
|
154
|
-
"@stdlib/strided-base-nullary": "^0.2.0",
|
|
155
|
-
"@stdlib/strided-base-ternary": "^0.2.0",
|
|
156
|
-
"@stdlib/strided-base-unary": "^0.2.0",
|
|
157
|
-
"@stdlib/string-format": "^0.2.0",
|
|
158
|
-
"@stdlib/utils-constant-function": "^0.2.0",
|
|
159
|
-
"@stdlib/utils-define-nonenumerable-read-only-accessor": "^0.2.0",
|
|
160
|
-
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.0",
|
|
161
|
-
"@stdlib/utils-define-nonenumerable-read-write-accessor": "^0.2.0",
|
|
162
|
-
"@stdlib/utils-keys": "^0.2.0",
|
|
163
|
-
"@stdlib/utils-noop": "^0.2.0",
|
|
164
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
165
|
-
"istanbul": "^0.4.1",
|
|
166
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
167
|
-
"@stdlib/bench-harness": "^0.2.0",
|
|
168
|
-
"@stdlib/bench": "^0.3.1"
|
|
34
|
+
"@stdlib/random-array-arcsine": "^0.2.1",
|
|
35
|
+
"@stdlib/random-array-bernoulli": "^0.2.1",
|
|
36
|
+
"@stdlib/random-array-beta": "^0.2.1",
|
|
37
|
+
"@stdlib/random-array-betaprime": "^0.2.1",
|
|
38
|
+
"@stdlib/random-array-binomial": "^0.2.1",
|
|
39
|
+
"@stdlib/random-array-cauchy": "^0.2.1",
|
|
40
|
+
"@stdlib/random-array-chi": "^0.2.1",
|
|
41
|
+
"@stdlib/random-array-chisquare": "^0.2.1",
|
|
42
|
+
"@stdlib/random-array-cosine": "^0.2.1",
|
|
43
|
+
"@stdlib/random-array-discrete-uniform": "^0.2.1",
|
|
44
|
+
"@stdlib/random-array-erlang": "^0.2.1",
|
|
45
|
+
"@stdlib/random-array-exponential": "^0.2.1",
|
|
46
|
+
"@stdlib/random-array-f": "^0.2.1",
|
|
47
|
+
"@stdlib/random-array-frechet": "^0.2.1",
|
|
48
|
+
"@stdlib/random-array-gamma": "^0.2.1",
|
|
49
|
+
"@stdlib/random-array-geometric": "^0.2.1",
|
|
50
|
+
"@stdlib/random-array-gumbel": "^0.2.1",
|
|
51
|
+
"@stdlib/random-array-hypergeometric": "^0.2.1",
|
|
52
|
+
"@stdlib/random-array-invgamma": "^0.2.1",
|
|
53
|
+
"@stdlib/random-array-kumaraswamy": "^0.2.1",
|
|
54
|
+
"@stdlib/random-array-laplace": "^0.2.1",
|
|
55
|
+
"@stdlib/random-array-levy": "^0.2.1",
|
|
56
|
+
"@stdlib/random-array-logistic": "^0.2.1",
|
|
57
|
+
"@stdlib/random-array-lognormal": "^0.2.1",
|
|
58
|
+
"@stdlib/random-array-minstd": "^0.2.1",
|
|
59
|
+
"@stdlib/random-array-minstd-shuffle": "^0.2.1",
|
|
60
|
+
"@stdlib/random-array-mt19937": "^0.2.1",
|
|
61
|
+
"@stdlib/random-array-negative-binomial": "^0.2.1",
|
|
62
|
+
"@stdlib/random-array-normal": "^0.2.1",
|
|
63
|
+
"@stdlib/random-array-pareto-type1": "^0.2.1",
|
|
64
|
+
"@stdlib/random-array-poisson": "^0.2.1",
|
|
65
|
+
"@stdlib/random-array-randu": "^0.2.1",
|
|
66
|
+
"@stdlib/random-array-rayleigh": "^0.2.1",
|
|
67
|
+
"@stdlib/random-array-t": "^0.2.1",
|
|
68
|
+
"@stdlib/random-array-tools": "^0.3.0",
|
|
69
|
+
"@stdlib/random-array-triangular": "^0.2.1",
|
|
70
|
+
"@stdlib/random-array-uniform": "^0.2.1",
|
|
71
|
+
"@stdlib/random-array-weibull": "^0.2.1",
|
|
72
|
+
"@stdlib/utils-define-read-only-property": "^0.2.2"
|
|
169
73
|
},
|
|
74
|
+
"devDependencies": {},
|
|
170
75
|
"engines": {
|
|
171
76
|
"node": ">=0.10.0",
|
|
172
77
|
"npm": ">2.7.0"
|