Skip to content

Commit bc10bb7

Browse files
committed
feat: add random.array.binomial to namespace
1 parent 4d448e8 commit bc10bb7

File tree

27 files changed

+78
-13
lines changed

27 files changed

+78
-13
lines changed

lib/node_modules/@stdlib/namespace/alias2pkg/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@ random.array.arcsine,"@stdlib/random/array/arcsine"
24242424
random.array.bernoulli,"@stdlib/random/array/bernoulli"
24252425
random.array.beta,"@stdlib/random/array/beta"
24262426
random.array.betaprime,"@stdlib/random/array/betaprime"
2427+
random.array.binomial,"@stdlib/random/array/binomial"
24272428
random.array.cauchy,"@stdlib/random/array/cauchy"
24282429
random.array.chi,"@stdlib/random/array/chi"
24292430
random.array.chisquare,"@stdlib/random/array/chisquare"

lib/node_modules/@stdlib/namespace/alias2pkg/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/alias2related/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@ random.array.arcsine,"base.random.arcsine,random.strided.arcsine"
24242424
random.array.bernoulli,"base.random.bernoulli"
24252425
random.array.beta,"base.random.beta,random.strided.beta"
24262426
random.array.betaprime,"base.random.betaprime,random.strided.betaprime"
2427+
random.array.binomial,"base.random.binomial"
24272428
random.array.cauchy,"base.random.cauchy"
24282429
random.array.chi,"base.random.chi"
24292430
random.array.chisquare,"base.random.chisquare"

lib/node_modules/@stdlib/namespace/alias2related/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/alias2standalone/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@ random.array.arcsine,"@stdlib/random-array-arcsine"
24242424
random.array.bernoulli,"@stdlib/random-array-bernoulli"
24252425
random.array.beta,"@stdlib/random-array-beta"
24262426
random.array.betaprime,"@stdlib/random-array-betaprime"
2427+
random.array.binomial,"@stdlib/random-array-binomial"
24272428
random.array.cauchy,"@stdlib/random-array-cauchy"
24282429
random.array.chi,"@stdlib/random-array-chi"
24292430
random.array.chisquare,"@stdlib/random-array-chisquare"

lib/node_modules/@stdlib/namespace/alias2standalone/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/aliases/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/aliases/data/data.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@ random.array.arcsine
24242424
random.array.bernoulli
24252425
random.array.beta
24262426
random.array.betaprime
2427+
random.array.binomial
24272428
random.array.cauchy
24282429
random.array.chi
24292430
random.array.chisquare

lib/node_modules/@stdlib/namespace/lib/namespace/random/array/index.js

+12
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ ns.push({
7474
]
7575
});
7676

77+
ns.push({
78+
'alias': 'random.array.binomial',
79+
'path': '@stdlib/random/array/binomial',
80+
'value': require( '@stdlib/random/array/binomial' ),
81+
'type': 'Function',
82+
'related': [
83+
'@stdlib/random/binomial',
84+
'@stdlib/random/base/binomial',
85+
'@stdlib/random/strided/binomial'
86+
]
87+
});
88+
7789
ns.push({
7890
'alias': 'random.array.cauchy',
7991
'path': '@stdlib/random/array/cauchy',

lib/node_modules/@stdlib/namespace/pkg2alias/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@
24242424
"@stdlib/random/array/bernoulli",random.array.bernoulli
24252425
"@stdlib/random/array/beta",random.array.beta
24262426
"@stdlib/random/array/betaprime",random.array.betaprime
2427+
"@stdlib/random/array/binomial",random.array.binomial
24272428
"@stdlib/random/array/cauchy",random.array.cauchy
24282429
"@stdlib/random/array/chi",random.array.chi
24292430
"@stdlib/random/array/chisquare",random.array.chisquare

lib/node_modules/@stdlib/namespace/pkg2alias/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/pkg2related/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@
24242424
"@stdlib/random/array/bernoulli","@stdlib/random/base/bernoulli"
24252425
"@stdlib/random/array/beta","@stdlib/random/base/beta,@stdlib/random/strided/beta"
24262426
"@stdlib/random/array/betaprime","@stdlib/random/base/betaprime,@stdlib/random/strided/betaprime"
2427+
"@stdlib/random/array/binomial","@stdlib/random/base/binomial"
24272428
"@stdlib/random/array/cauchy","@stdlib/random/base/cauchy"
24282429
"@stdlib/random/array/chi","@stdlib/random/base/chi"
24292430
"@stdlib/random/array/chisquare","@stdlib/random/base/chisquare"

lib/node_modules/@stdlib/namespace/pkg2related/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/pkg2standalone/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@
24242424
"@stdlib/random/array/bernoulli","@stdlib/random-array-bernoulli"
24252425
"@stdlib/random/array/beta","@stdlib/random-array-beta"
24262426
"@stdlib/random/array/betaprime","@stdlib/random-array-betaprime"
2427+
"@stdlib/random/array/binomial","@stdlib/random-array-binomial"
24272428
"@stdlib/random/array/cauchy","@stdlib/random-array-cauchy"
24282429
"@stdlib/random/array/chi","@stdlib/random-array-chi"
24292430
"@stdlib/random/array/chisquare","@stdlib/random-array-chisquare"

lib/node_modules/@stdlib/namespace/pkg2standalone/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/namespace/standalone2pkg/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@
24242424
"@stdlib/random-array-bernoulli","@stdlib/random/array/bernoulli"
24252425
"@stdlib/random-array-beta","@stdlib/random/array/beta"
24262426
"@stdlib/random-array-betaprime","@stdlib/random/array/betaprime"
2427+
"@stdlib/random-array-binomial","@stdlib/random/array/binomial"
24272428
"@stdlib/random-array-cauchy","@stdlib/random/array/cauchy"
24282429
"@stdlib/random-array-chi","@stdlib/random/array/chi"
24292430
"@stdlib/random-array-chisquare","@stdlib/random/array/chisquare"

lib/node_modules/@stdlib/namespace/standalone2pkg/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/code-blocks/data/data.csv

+9
Original file line numberDiff line numberDiff line change
@@ -3992,6 +3992,15 @@ random.array.invgamma.seedLength,"var len = random.array.invgamma.seedLength;\n"
39923992
random.array.invgamma.state,"var out = random.array.invgamma( 3, 2.0, 5.0 )\nvar state = random.array.invgamma.state\nout = random.array.invgamma( 3, 2.0, 5.0 )\nout = random.array.invgamma( 3, 2.0, 5.0 )\nrandom.array.invgamma.state = state;\nout = random.array.invgamma( 3, 2.0, 5.0 )\n"
39933993
random.array.invgamma.stateLength,"var len = random.array.invgamma.stateLength;\n"
39943994
random.array.invgamma.byteLength,"var sz = random.array.invgamma.byteLength;\n"
3995+
random.array.kumaraswamy,"var out = random.array.kumaraswamy( 3, 2.0, 5.0 )\n"
3996+
random.array.kumaraswamy.assign,"var x = azeros( 3, 'float64' );\nvar out = random.array.kumaraswamy.assign( 2.0, 5.0, x )\nvar bool = ( out === x )\n"
3997+
random.array.kumaraswamy.factory,"var fcn = random.array.kumaraswamy.factory();\nvar out = fcn( 3, 2.0, 5.0 )\nfcn = random.array.kumaraswamy.factory( 2.0, 5.0 );\nout = fcn( 3 )\n"
3998+
random.array.kumaraswamy.PRNG,"var prng = random.array.kumaraswamy.PRNG;\n"
3999+
random.array.kumaraswamy.seed,"var seed = random.array.kumaraswamy.seed;\n"
4000+
random.array.kumaraswamy.seedLength,"var len = random.array.kumaraswamy.seedLength;\n"
4001+
random.array.kumaraswamy.state,"var out = random.array.kumaraswamy( 3, 2.0, 5.0 )\nvar state = random.array.kumaraswamy.state\nout = random.array.kumaraswamy( 3, 2.0, 5.0 )\nout = random.array.kumaraswamy( 3, 2.0, 5.0 )\nrandom.array.kumaraswamy.state = state;\nout = random.array.kumaraswamy( 3, 2.0, 5.0 )\n"
4002+
random.array.kumaraswamy.stateLength,"var len = random.array.kumaraswamy.stateLength;\n"
4003+
random.array.kumaraswamy.byteLength,"var sz = random.array.kumaraswamy.byteLength;\n"
39954004
random.array.laplace,"var out = random.array.laplace( 3, 2.0, 5.0 )\n"
39964005
random.array.laplace.assign,"var x = azeros( 3, 'float64' );\nvar out = random.array.laplace.assign( 2.0, 5.0, x )\nvar bool = ( out === x )\n"
39974006
random.array.laplace.factory,"var fcn = random.array.laplace.factory();\nvar out = fcn( 3, 2.0, 5.0 )\nfcn = random.array.laplace.factory( 2.0, 5.0 );\nout = fcn( 3 )\n"

lib/node_modules/@stdlib/repl/code-blocks/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/help/data/data.csv

+9
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/help/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/info/data/data.csv

+9
Original file line numberDiff line numberDiff line change
@@ -3992,6 +3992,15 @@ random.array.invgamma.seedLength,"\nrandom.array.invgamma.seedLength\n Length
39923992
random.array.invgamma.state,"\nrandom.array.invgamma.state\n Generator state.\n"
39933993
random.array.invgamma.stateLength,"\nrandom.array.invgamma.stateLength\n Length of generator state.\n"
39943994
random.array.invgamma.byteLength,"\nrandom.array.invgamma.byteLength\n Size (in bytes) of generator state.\n"
3995+
random.array.kumaraswamy,"\nrandom.array.kumaraswamy( len:integer, a:number, b:number[, options:Object] )\n Returns an array containing pseudorandom numbers drawn from Kumaraswamy's\n double bounded distribution.\n"
3996+
random.array.kumaraswamy.assign,"\nrandom.array.kumaraswamy.assign( a:number, b:number, \n out:Array|Float64Array|Float32Array )\n Fills an array with pseudorandom numbers drawn from Kumaraswamy's double\n bounded distribution.\n"
3997+
random.array.kumaraswamy.factory,"\nrandom.array.kumaraswamy.factory( [a:number, b:number, ][options:Object] )\n Returns a function for creating arrays containing pseudorandom numbers drawn\n from Kumaraswamy's double bounded distribution.\n"
3998+
random.array.kumaraswamy.PRNG,"\nrandom.array.kumaraswamy.PRNG\n Underlying pseudorandom number generator.\n"
3999+
random.array.kumaraswamy.seed,"\nrandom.array.kumaraswamy.seed\n Pseudorandom number generator seed.\n"
4000+
random.array.kumaraswamy.seedLength,"\nrandom.array.kumaraswamy.seedLength\n Length of generator seed.\n"
4001+
random.array.kumaraswamy.state,"\nrandom.array.kumaraswamy.state\n Generator state.\n"
4002+
random.array.kumaraswamy.stateLength,"\nrandom.array.kumaraswamy.stateLength\n Length of generator state.\n"
4003+
random.array.kumaraswamy.byteLength,"\nrandom.array.kumaraswamy.byteLength\n Size (in bytes) of generator state.\n"
39954004
random.array.laplace,"\nrandom.array.laplace( len:integer, mu:number, b:number[, options:Object] )\n Returns an array containing pseudorandom numbers drawn from a Laplace\n (double exponential) distribution.\n"
39964005
random.array.laplace.assign,"\nrandom.array.laplace.assign( mu:number, b:number, \n out:Array|Float64Array|Float32Array )\n Fills an array with pseudorandom numbers drawn from a Laplace (double\n exponential) distribution.\n"
39974006
random.array.laplace.factory,"\nrandom.array.laplace.factory( [mu:number, b:number, ][options:Object] )\n Returns a function for creating arrays containing pseudorandom numbers drawn\n from a Laplace (double exponential) distribution.\n"

lib/node_modules/@stdlib/repl/info/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/signature/data/data.csv

+9
Original file line numberDiff line numberDiff line change
@@ -4029,6 +4029,15 @@ random.array.invgamma.seedLength,"random.array.invgamma.seedLength"
40294029
random.array.invgamma.state,"random.array.invgamma.state"
40304030
random.array.invgamma.stateLength,"random.array.invgamma.stateLength"
40314031
random.array.invgamma.byteLength,"random.array.invgamma.byteLength"
4032+
random.array.kumaraswamy,"random.array.kumaraswamy( len, a, b[, options] )"
4033+
random.array.kumaraswamy.assign,"random.array.kumaraswamy.assign( a, b, out )"
4034+
random.array.kumaraswamy.factory,"random.array.kumaraswamy.factory( [a, b, ][options] )"
4035+
random.array.kumaraswamy.PRNG,"random.array.kumaraswamy.PRNG"
4036+
random.array.kumaraswamy.seed,"random.array.kumaraswamy.seed"
4037+
random.array.kumaraswamy.seedLength,"random.array.kumaraswamy.seedLength"
4038+
random.array.kumaraswamy.state,"random.array.kumaraswamy.state"
4039+
random.array.kumaraswamy.stateLength,"random.array.kumaraswamy.stateLength"
4040+
random.array.kumaraswamy.byteLength,"random.array.kumaraswamy.byteLength"
40324041
random.array.laplace,"random.array.laplace( len, mu, b[, options] )"
40334042
random.array.laplace.assign,"random.array.laplace.assign( mu, b, out )"
40344043
random.array.laplace.factory,"random.array.laplace.factory( [mu, b, ][options] )"

lib/node_modules/@stdlib/repl/signature/data/data.json

+1-1
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/typed-signature/data/data.csv

+9
Original file line numberDiff line numberDiff line change
@@ -4029,6 +4029,15 @@ random.array.invgamma.seedLength,"random.array.invgamma.seedLength"
40294029
random.array.invgamma.state,"random.array.invgamma.state"
40304030
random.array.invgamma.stateLength,"random.array.invgamma.stateLength"
40314031
random.array.invgamma.byteLength,"random.array.invgamma.byteLength"
4032+
random.array.kumaraswamy,"random.array.kumaraswamy( len:integer, a:number, b:number[, options:Object] )"
4033+
random.array.kumaraswamy.assign,"random.array.kumaraswamy.assign( a:number, b:number, out:Array|Float64Array|Float32Array )"
4034+
random.array.kumaraswamy.factory,"random.array.kumaraswamy.factory( [a:number, b:number, ][options:Object] )"
4035+
random.array.kumaraswamy.PRNG,"random.array.kumaraswamy.PRNG"
4036+
random.array.kumaraswamy.seed,"random.array.kumaraswamy.seed"
4037+
random.array.kumaraswamy.seedLength,"random.array.kumaraswamy.seedLength"
4038+
random.array.kumaraswamy.state,"random.array.kumaraswamy.state"
4039+
random.array.kumaraswamy.stateLength,"random.array.kumaraswamy.stateLength"
4040+
random.array.kumaraswamy.byteLength,"random.array.kumaraswamy.byteLength"
40324041
random.array.laplace,"random.array.laplace( len:integer, mu:number, b:number[, options:Object] )"
40334042
random.array.laplace.assign,"random.array.laplace.assign( mu:number, b:number, out:Array|Float64Array|Float32Array )"
40344043
random.array.laplace.factory,"random.array.laplace.factory( [mu:number, b:number, ][options:Object] )"

lib/node_modules/@stdlib/repl/typed-signature/data/data.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)