Skip to content

Commit

Permalink
feat: add random.array.triangular to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Jan 13, 2024
1 parent f5112de commit 324dfed
Show file tree
Hide file tree
Showing 27 changed files with 86 additions and 21 deletions.
1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/namespace/alias2pkg/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ random.array.poisson,"@stdlib/random/array/poisson"
random.array.randu,"@stdlib/random/array/randu"
random.array.rayleigh,"@stdlib/random/array/rayleigh"
random.array.t,"@stdlib/random/array/t"
random.array.triangular,"@stdlib/random/array/triangular"
random.array.uniform,"@stdlib/random/array/uniform"
random.array.weibull,"@stdlib/random/array/weibull"
random.iterators.arcsine,"@stdlib/random/iter/arcsine"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ random.array.poisson,"base.random.poisson"
random.array.randu,"random.array.uniform,base.random.randu,random.strided.randu"
random.array.rayleigh,"base.random.rayleigh"
random.array.t,"base.random.t"
random.array.triangular,"base.random.triangular"
random.array.uniform,"random.array.discreteUniform,base.random.uniform,random.strided.uniform"
random.array.weibull,"base.random.weibull"
random.iterators.arcsine,"base.random.arcsine"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ random.array.poisson,"@stdlib/random-array-poisson"
random.array.randu,"@stdlib/random-array-randu"
random.array.rayleigh,"@stdlib/random-array-rayleigh"
random.array.t,"@stdlib/random-array-t"
random.array.triangular,"@stdlib/random-array-triangular"
random.array.uniform,"@stdlib/random-array-uniform"
random.array.weibull,"@stdlib/random-array-weibull"
random.iterators.arcsine,"@stdlib/random-iter-arcsine"
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/namespace/aliases/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/namespace/aliases/data/data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ random.array.poisson
random.array.randu
random.array.rayleigh
random.array.t
random.array.triangular
random.array.uniform
random.array.weibull
random.iterators.arcsine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,18 @@ ns.push({
]
});

ns.push({
'alias': 'random.array.triangular',
'path': '@stdlib/random/array/triangular',
'value': require( '@stdlib/random/array/triangular' ),
'type': 'Function',
'related': [
'@stdlib/random/base/triangular',
'@stdlib/random/triangular',
'@stdlib/random/strided/triangular'
]
});

ns.push({
'alias': 'random.array.uniform',
'path': '@stdlib/random/array/uniform',
Expand Down
1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/namespace/pkg2alias/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@
"@stdlib/random/array/randu",random.array.randu
"@stdlib/random/array/rayleigh",random.array.rayleigh
"@stdlib/random/array/t",random.array.t
"@stdlib/random/array/triangular",random.array.triangular
"@stdlib/random/array/uniform",random.array.uniform
"@stdlib/random/array/weibull",random.array.weibull
"@stdlib/random/iter/arcsine",random.iterators.arcsine
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@
"@stdlib/random/array/randu","@stdlib/random/array/uniform,@stdlib/random/base/randu,@stdlib/random/strided/randu"
"@stdlib/random/array/rayleigh","@stdlib/random/base/rayleigh"
"@stdlib/random/array/t","@stdlib/random/base/t"
"@stdlib/random/array/triangular","@stdlib/random/base/triangular"
"@stdlib/random/array/uniform","@stdlib/random/array/discrete-uniform,@stdlib/random/base/uniform,@stdlib/random/strided/uniform"
"@stdlib/random/array/weibull","@stdlib/random/base/weibull"
"@stdlib/random/iter/arcsine","@stdlib/random/base/arcsine"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@
"@stdlib/random/array/randu","@stdlib/random-array-randu"
"@stdlib/random/array/rayleigh","@stdlib/random-array-rayleigh"
"@stdlib/random/array/t","@stdlib/random-array-t"
"@stdlib/random/array/triangular","@stdlib/random-array-triangular"
"@stdlib/random/array/uniform","@stdlib/random-array-uniform"
"@stdlib/random/array/weibull","@stdlib/random-array-weibull"
"@stdlib/random/iter/arcsine","@stdlib/random-iter-arcsine"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@
"@stdlib/random-array-randu","@stdlib/random/array/randu"
"@stdlib/random-array-rayleigh","@stdlib/random/array/rayleigh"
"@stdlib/random-array-t","@stdlib/random/array/t"
"@stdlib/random-array-triangular","@stdlib/random/array/triangular"
"@stdlib/random-array-uniform","@stdlib/random/array/uniform"
"@stdlib/random-array-weibull","@stdlib/random/array/weibull"
"@stdlib/random-iter-arcsine","@stdlib/random/iter/arcsine"
Expand Down

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions lib/node_modules/@stdlib/repl/code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4073,6 +4073,15 @@ random.array.mt19937.seedLength,"var len = random.array.mt19937.seedLength;\n"
random.array.mt19937.state,"var out = random.array.mt19937( 3 )\nvar state = random.array.mt19937.state;\nout = random.array.mt19937( 3 )\nout = random.array.mt19937( 3 )\nrandom.array.mt19937.state = state;\nout = random.array.mt19937( 3 )\n"
random.array.mt19937.stateLength,"var len = random.array.mt19937.stateLength;\n"
random.array.mt19937.byteLength,"var sz = random.array.mt19937.byteLength;\n"
random.array.negativeBinomial,"var out = random.array.negativeBinomial( 3, 10, 0.5 )\n"
random.array.negativeBinomial.assign,"var x = azeros( 3, 'float64' );\nvar out = random.array.negativeBinomial.assign( 10, 0.5, x )\nvar bool = ( out === x )\n"
random.array.negativeBinomial.factory,"var fcn = random.array.negativeBinomial.factory();\nvar out = fcn( 3, 10, 0.5 )\nfcn = random.array.negativeBinomial.factory( 10, 0.5 );\nout = fcn( 3 )\n"
random.array.negativeBinomial.PRNG,"var prng = random.array.negativeBinomial.PRNG;\n"
random.array.negativeBinomial.seed,"var seed = random.array.negativeBinomial.seed;\n"
random.array.negativeBinomial.seedLength,"var len = random.array.negativeBinomial.seedLength;\n"
random.array.negativeBinomial.state,"var out = random.array.negativeBinomial( 3, 10, 0.5 )\nvar state = random.array.negativeBinomial.state\nout = random.array.negativeBinomial( 3, 10, 0.5 )\nout = random.array.negativeBinomial( 3, 10, 0.5 )\nrandom.array.negativeBinomial.state = state;\nout = random.array.negativeBinomial( 3, 10, 0.5 )\n"
random.array.negativeBinomial.stateLength,"var len = random.array.negativeBinomial.stateLength;\n"
random.array.negativeBinomial.byteLength,"var sz = random.array.negativeBinomial.byteLength;\n"
random.array.normal,"var out = random.array.normal( 3, 2.0, 5.0 )\n"
random.array.normal.assign,"var x = azeros( 3, 'float64' );\nvar out = random.array.normal.assign( 2.0, 5.0, x )\nvar bool = ( out === x )\n"
random.array.normal.factory,"var fcn = random.array.normal.factory();\nvar out = fcn( 3, 2.0, 5.0 )\nfcn = random.array.normal.factory( 2.0, 5.0 );\nout = fcn( 3 )\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/code-blocks/data/data.json

Large diffs are not rendered by default.

Loading

1 comment on commit 324dfed

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
namespace/alias2pkg $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
namespace/alias2related $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
namespace/alias2standalone $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
namespace/aliases $\color{green}144/144$
$\color{green}+100.00\%$
$\color{green}14/14$
$\color{green}+100.00\%$
$\color{green}2/2$
$\color{green}+100.00\%$
$\color{green}144/144$
$\color{green}+100.00\%$
namespace $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
namespace/pkg2alias $\color{green}100/100$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}100/100$
$\color{green}+100.00\%$
namespace/pkg2related $\color{green}100/100$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}100/100$
$\color{green}+100.00\%$
namespace/pkg2standalone $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
namespace/standalone2pkg $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
random/array $\color{green}357/357$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}357/357$
$\color{green}+100.00\%$
random/array/triangular $\color{green}215/215$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}215/215$
$\color{green}+100.00\%$
repl/code-blocks $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
repl/help $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
repl/info $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
repl/signature $\color{green}99/99$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}99/99$
$\color{green}+100.00\%$
repl/typed-signature $\color{green}99/99$
$\color{green}+100.00\%$
$\color{green}10/10$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}99/99$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.