@stdlib/random-array 0.1.0 → 0.2.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 +73 -4
- package/SECURITY.md +5 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/docs/types/index.d.ts +492 -13
- package/lib/index.js +198 -0
- package/package.json +116 -55
- package/CITATION.cff +0 -30
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2024 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -69,20 +69,42 @@ The namespace contains the following:
|
|
|
69
69
|
<div class="namespace-toc">
|
|
70
70
|
|
|
71
71
|
- <span class="signature">[`arcsine( len, a, b[, options] )`][@stdlib/random/array/arcsine]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from an arcsine distribution.</span>
|
|
72
|
+
- <span class="signature">[`bernoulli( len, p[, options] )`][@stdlib/random/array/bernoulli]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Bernoulli distribution.</span>
|
|
72
73
|
- <span class="signature">[`beta( len, alpha, beta[, options] )`][@stdlib/random/array/beta]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a beta distribution.</span>
|
|
73
74
|
- <span class="signature">[`betaprime( len, alpha, beta[, options] )`][@stdlib/random/array/betaprime]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a beta prime distribution.</span>
|
|
75
|
+
- <span class="signature">[`binomial( len, n, p[, options] )`][@stdlib/random/array/binomial]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a binomial distribution.</span>
|
|
76
|
+
- <span class="signature">[`cauchy( len, x0, gamma[, options] )`][@stdlib/random/array/cauchy]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Cauchy distribution.</span>
|
|
77
|
+
- <span class="signature">[`chi( len, k[, options] )`][@stdlib/random/array/chi]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a chi distribution.</span>
|
|
78
|
+
- <span class="signature">[`chisquare( len, k[, options] )`][@stdlib/random/array/chisquare]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a chi-square distribution.</span>
|
|
74
79
|
- <span class="signature">[`cosine( len, mu, s[, options] )`][@stdlib/random/array/cosine]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a raised cosine distribution.</span>
|
|
75
80
|
- <span class="signature">[`discreteUniform( len, a, b[, options] )`][@stdlib/random/array/discrete-uniform]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a discrete uniform distribution.</span>
|
|
81
|
+
- <span class="signature">[`erlang( len, k, lambda[, options] )`][@stdlib/random/array/erlang]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from an Erlang distribution.</span>
|
|
76
82
|
- <span class="signature">[`exponential( len, lambda[, options] )`][@stdlib/random/array/exponential]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from an exponential distribution.</span>
|
|
83
|
+
- <span class="signature">[`f( len, d1, d2[, options] )`][@stdlib/random/array/f]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from an F distribution.</span>
|
|
84
|
+
- <span class="signature">[`frechet( len, alpha, s, m[, options] )`][@stdlib/random/array/frechet]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Fréchet distribution.</span>
|
|
77
85
|
- <span class="signature">[`gamma( len, alpha, beta[, options] )`][@stdlib/random/array/gamma]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a gamma distribution.</span>
|
|
78
|
-
- <span class="signature">[`
|
|
86
|
+
- <span class="signature">[`geometric( len, p[, options] )`][@stdlib/random/array/geometric]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a geometric distribution.</span>
|
|
87
|
+
- <span class="signature">[`gumbel( len, mu, beta[, options] )`][@stdlib/random/array/gumbel]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Gumbel distribution.</span>
|
|
88
|
+
- <span class="signature">[`hypergeometric( len, N, K, n[, options] )`][@stdlib/random/array/hypergeometric]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a hypergeometric distribution.</span>
|
|
89
|
+
- <span class="signature">[`invgamma( len, alpha, beta[, options] )`][@stdlib/random/array/invgamma]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a inverse gamma distribution.</span>
|
|
90
|
+
- <span class="signature">[`kumaraswamy( len, a, b[, options] )`][@stdlib/random/array/kumaraswamy]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from Kumaraswamy's double bounded distribution.</span>
|
|
91
|
+
- <span class="signature">[`laplace( len, mu, b[, options] )`][@stdlib/random/array/laplace]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Laplace (double exponential) distribution.</span>
|
|
92
|
+
- <span class="signature">[`levy( len, mu, c[, options] )`][@stdlib/random/array/levy]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Lévy distribution.</span>
|
|
93
|
+
- <span class="signature">[`logistic( len, mu, s[, options] )`][@stdlib/random/array/logistic]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a logistic distribution.</span>
|
|
79
94
|
- <span class="signature">[`lognormal( len, mu, sigma[, options] )`][@stdlib/random/array/lognormal]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a lognormal distribution.</span>
|
|
80
95
|
- <span class="signature">[`minstdShuffle( len[, options] )`][@stdlib/random/array/minstd-shuffle]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG) whose output is shuffled.</span>
|
|
81
96
|
- <span class="signature">[`minstd( len[, options] )`][@stdlib/random/array/minstd]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers generated using a linear congruential pseudorandom number generator (LCG).</span>
|
|
82
97
|
- <span class="signature">[`mt19937( len[, options] )`][@stdlib/random/array/mt19937]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers generated using a 32-bit Mersenne Twister pseudorandom number generator.</span>
|
|
98
|
+
- <span class="signature">[`negativeBinomial( len, r, p[, options] )`][@stdlib/random/array/negative-binomial]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a negative binomial distribution.</span>
|
|
83
99
|
- <span class="signature">[`normal( len, mu, sigma[, options] )`][@stdlib/random/array/normal]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a normal distribution.</span>
|
|
100
|
+
- <span class="signature">[`pareto1( len, alpha, beta[, options] )`][@stdlib/random/array/pareto-type1]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Pareto (Type I) distribution.</span>
|
|
101
|
+
- <span class="signature">[`poisson( len, lambda[, options] )`][@stdlib/random/array/poisson]</span><span class="delimiter">: </span><span class="description">create an array containing pseudorandom numbers drawn from a Poisson distribution.</span>
|
|
84
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
|
+
- <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
|
+
- <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">[`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>
|
|
85
106
|
- <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
|
+
- <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>
|
|
86
108
|
|
|
87
109
|
</div>
|
|
88
110
|
|
|
@@ -145,7 +167,7 @@ See [LICENSE][stdlib-license].
|
|
|
145
167
|
|
|
146
168
|
## Copyright
|
|
147
169
|
|
|
148
|
-
Copyright © 2016-
|
|
170
|
+
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
149
171
|
|
|
150
172
|
</section>
|
|
151
173
|
|
|
@@ -158,8 +180,8 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
158
180
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/random-array.svg
|
|
159
181
|
[npm-url]: https://npmjs.org/package/@stdlib/random-array
|
|
160
182
|
|
|
161
|
-
[test-image]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml/badge.svg?branch=v0.
|
|
162
|
-
[test-url]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml?query=branch:v0.
|
|
183
|
+
[test-image]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml/badge.svg?branch=v0.2.0
|
|
184
|
+
[test-url]: https://github.com/stdlib-js/random-array/actions/workflows/test.yml?query=branch:v0.2.0
|
|
163
185
|
|
|
164
186
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/random-array/main.svg
|
|
165
187
|
[coverage-url]: https://codecov.io/github/stdlib-js/random-array?branch=main
|
|
@@ -182,8 +204,11 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
182
204
|
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
183
205
|
|
|
184
206
|
[deno-url]: https://github.com/stdlib-js/random-array/tree/deno
|
|
207
|
+
[deno-readme]: https://github.com/stdlib-js/random-array/blob/deno/README.md
|
|
185
208
|
[umd-url]: https://github.com/stdlib-js/random-array/tree/umd
|
|
209
|
+
[umd-readme]: https://github.com/stdlib-js/random-array/blob/umd/README.md
|
|
186
210
|
[esm-url]: https://github.com/stdlib-js/random-array/tree/esm
|
|
211
|
+
[esm-readme]: https://github.com/stdlib-js/random-array/blob/esm/README.md
|
|
187
212
|
[branches-url]: https://github.com/stdlib-js/random-array/blob/main/branches.md
|
|
188
213
|
|
|
189
214
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/random-array/main/LICENSE
|
|
@@ -192,20 +217,50 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
192
217
|
|
|
193
218
|
[@stdlib/random/array/arcsine]: https://www.npmjs.com/package/@stdlib/random-array-arcsine
|
|
194
219
|
|
|
220
|
+
[@stdlib/random/array/bernoulli]: https://www.npmjs.com/package/@stdlib/random-array-bernoulli
|
|
221
|
+
|
|
195
222
|
[@stdlib/random/array/beta]: https://www.npmjs.com/package/@stdlib/random-array-beta
|
|
196
223
|
|
|
197
224
|
[@stdlib/random/array/betaprime]: https://www.npmjs.com/package/@stdlib/random-array-betaprime
|
|
198
225
|
|
|
226
|
+
[@stdlib/random/array/binomial]: https://www.npmjs.com/package/@stdlib/random-array-binomial
|
|
227
|
+
|
|
228
|
+
[@stdlib/random/array/cauchy]: https://www.npmjs.com/package/@stdlib/random-array-cauchy
|
|
229
|
+
|
|
230
|
+
[@stdlib/random/array/chi]: https://www.npmjs.com/package/@stdlib/random-array-chi
|
|
231
|
+
|
|
232
|
+
[@stdlib/random/array/chisquare]: https://www.npmjs.com/package/@stdlib/random-array-chisquare
|
|
233
|
+
|
|
199
234
|
[@stdlib/random/array/cosine]: https://www.npmjs.com/package/@stdlib/random-array-cosine
|
|
200
235
|
|
|
201
236
|
[@stdlib/random/array/discrete-uniform]: https://www.npmjs.com/package/@stdlib/random-array-discrete-uniform
|
|
202
237
|
|
|
238
|
+
[@stdlib/random/array/erlang]: https://www.npmjs.com/package/@stdlib/random-array-erlang
|
|
239
|
+
|
|
203
240
|
[@stdlib/random/array/exponential]: https://www.npmjs.com/package/@stdlib/random-array-exponential
|
|
204
241
|
|
|
242
|
+
[@stdlib/random/array/f]: https://www.npmjs.com/package/@stdlib/random-array-f
|
|
243
|
+
|
|
244
|
+
[@stdlib/random/array/frechet]: https://www.npmjs.com/package/@stdlib/random-array-frechet
|
|
245
|
+
|
|
205
246
|
[@stdlib/random/array/gamma]: https://www.npmjs.com/package/@stdlib/random-array-gamma
|
|
206
247
|
|
|
248
|
+
[@stdlib/random/array/geometric]: https://www.npmjs.com/package/@stdlib/random-array-geometric
|
|
249
|
+
|
|
250
|
+
[@stdlib/random/array/gumbel]: https://www.npmjs.com/package/@stdlib/random-array-gumbel
|
|
251
|
+
|
|
252
|
+
[@stdlib/random/array/hypergeometric]: https://www.npmjs.com/package/@stdlib/random-array-hypergeometric
|
|
253
|
+
|
|
207
254
|
[@stdlib/random/array/invgamma]: https://www.npmjs.com/package/@stdlib/random-array-invgamma
|
|
208
255
|
|
|
256
|
+
[@stdlib/random/array/kumaraswamy]: https://www.npmjs.com/package/@stdlib/random-array-kumaraswamy
|
|
257
|
+
|
|
258
|
+
[@stdlib/random/array/laplace]: https://www.npmjs.com/package/@stdlib/random-array-laplace
|
|
259
|
+
|
|
260
|
+
[@stdlib/random/array/levy]: https://www.npmjs.com/package/@stdlib/random-array-levy
|
|
261
|
+
|
|
262
|
+
[@stdlib/random/array/logistic]: https://www.npmjs.com/package/@stdlib/random-array-logistic
|
|
263
|
+
|
|
209
264
|
[@stdlib/random/array/lognormal]: https://www.npmjs.com/package/@stdlib/random-array-lognormal
|
|
210
265
|
|
|
211
266
|
[@stdlib/random/array/minstd-shuffle]: https://www.npmjs.com/package/@stdlib/random-array-minstd-shuffle
|
|
@@ -214,12 +269,26 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
|
|
|
214
269
|
|
|
215
270
|
[@stdlib/random/array/mt19937]: https://www.npmjs.com/package/@stdlib/random-array-mt19937
|
|
216
271
|
|
|
272
|
+
[@stdlib/random/array/negative-binomial]: https://www.npmjs.com/package/@stdlib/random-array-negative-binomial
|
|
273
|
+
|
|
217
274
|
[@stdlib/random/array/normal]: https://www.npmjs.com/package/@stdlib/random-array-normal
|
|
218
275
|
|
|
276
|
+
[@stdlib/random/array/pareto-type1]: https://www.npmjs.com/package/@stdlib/random-array-pareto-type1
|
|
277
|
+
|
|
278
|
+
[@stdlib/random/array/poisson]: https://www.npmjs.com/package/@stdlib/random-array-poisson
|
|
279
|
+
|
|
219
280
|
[@stdlib/random/array/randu]: https://www.npmjs.com/package/@stdlib/random-array-randu
|
|
220
281
|
|
|
282
|
+
[@stdlib/random/array/rayleigh]: https://www.npmjs.com/package/@stdlib/random-array-rayleigh
|
|
283
|
+
|
|
284
|
+
[@stdlib/random/array/t]: https://www.npmjs.com/package/@stdlib/random-array-t
|
|
285
|
+
|
|
286
|
+
[@stdlib/random/array/triangular]: https://www.npmjs.com/package/@stdlib/random-array-triangular
|
|
287
|
+
|
|
221
288
|
[@stdlib/random/array/uniform]: https://www.npmjs.com/package/@stdlib/random-array-uniform
|
|
222
289
|
|
|
290
|
+
[@stdlib/random/array/weibull]: https://www.npmjs.com/package/@stdlib/random-array-weibull
|
|
291
|
+
|
|
223
292
|
<!-- </toc-links> -->
|
|
224
293
|
|
|
225
294
|
</section>
|
package/SECURITY.md
ADDED
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,"beta",require('@stdlib/random-array-beta/dist'));r(e,"betaprime",require('@stdlib/random-array-betaprime/dist'));r(e,"cosine",require('@stdlib/random-array-cosine/dist'));r(e,"discreteUniform",require('@stdlib/random-array-discrete-uniform/dist'));r(e,"exponential",require('@stdlib/random-array-exponential/dist'));r(e,"gamma",require('@stdlib/random-array-gamma/dist'));r(e,"invgamma",require('@stdlib/random-array-invgamma/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,"normal",require('@stdlib/random-array-normal/dist'));r(e,"randu",require('@stdlib/random-array-randu/dist'));r(e,"uniform",require('@stdlib/random-array-uniform/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,"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 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 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 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 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 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 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 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 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 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// 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,OAAQ,QAAS,2BAA4B,CAAE,EAShED,EAAaC,EAAI,YAAa,QAAS,gCAAiC,CAAE,EAS1ED,EAAaC,EAAI,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,kBAAmB,QAAS,uCAAwC,CAAE,EASvFD,EAAaC,EAAI,cAAe,QAAS,kCAAmC,CAAE,EAS9ED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,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,SAAU,QAAS,6BAA8B,CAAE,EASpED,EAAaC,EAAI,QAAS,QAAS,4BAA6B,CAAE,EASlED,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 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",
|
|
6
6
|
"names": ["setReadOnly", "ns"]
|
|
7
7
|
}
|