Skip to content

Commit

Permalink
feat: add random.strided.t to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Jan 28, 2024
1 parent b620e84 commit 4877282
Show file tree
Hide file tree
Showing 27 changed files with 82 additions and 17 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 @@ -2581,6 +2581,7 @@ random.strided.normal,"@stdlib/random/strided/normal"
random.strided.poisson,"@stdlib/random/strided/poisson"
random.strided.randu,"@stdlib/random/strided/randu"
random.strided.rayleigh,"@stdlib/random/strided/rayleigh"
random.strided.t,"@stdlib/random/strided/t"
random.strided.uniform,"@stdlib/random/strided/uniform"
ranks,"@stdlib/stats/ranks"
readDir,"@stdlib/fs/read-dir"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ random.array.pareto1,"base.random.pareto1"
random.array.poisson,"base.random.poisson,random.strided.poisson"
random.array.randu,"random.array.uniform,base.random.randu,random.strided.randu"
random.array.rayleigh,"base.random.rayleigh,random.strided.rayleigh"
random.array.t,"base.random.t"
random.array.t,"base.random.t,random.strided.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"
Expand Down Expand Up @@ -2581,6 +2581,7 @@ random.strided.normal,"base.random.normal,random.array.normal"
random.strided.poisson,"base.random.poisson,random.array.poisson"
random.strided.randu,"base.random.randu,random.array.randu,random.strided.uniform"
random.strided.rayleigh,"base.random.rayleigh,random.array.rayleigh"
random.strided.t,"base.random.t,random.array.t"
random.strided.uniform,"base.random.uniform,random.array.uniform,random.strided.discreteUniform"
ranks,""
readDir,"exists,readFile"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2581,6 +2581,7 @@ random.strided.normal,"@stdlib/random-strided-normal"
random.strided.poisson,"@stdlib/random-strided-poisson"
random.strided.randu,"@stdlib/random-strided-randu"
random.strided.rayleigh,"@stdlib/random-strided-rayleigh"
random.strided.t,"@stdlib/random-strided-t"
random.strided.uniform,"@stdlib/random-strided-uniform"
ranks,"@stdlib/stats-ranks"
readDir,"@stdlib/fs-read-dir"
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 @@ -2581,6 +2581,7 @@ random.strided.normal
random.strided.poisson
random.strided.randu
random.strided.rayleigh
random.strided.t
random.strided.uniform
ranks
readDir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,18 @@ ns.push({
]
});

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

ns.push({
'alias': 'random.strided.uniform',
'path': '@stdlib/random/strided/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 @@ -2581,6 +2581,7 @@
"@stdlib/random/strided/poisson",random.strided.poisson
"@stdlib/random/strided/randu",random.strided.randu
"@stdlib/random/strided/rayleigh",random.strided.rayleigh
"@stdlib/random/strided/t",random.strided.t
"@stdlib/random/strided/uniform",random.strided.uniform
"@stdlib/stats/ranks",ranks
"@stdlib/fs/read-dir",readDir
Expand Down

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/namespace/pkg2related/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@
"@stdlib/random/array/poisson","@stdlib/random/base/poisson,@stdlib/random/strided/poisson"
"@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/strided/rayleigh"
"@stdlib/random/array/t","@stdlib/random/base/t"
"@stdlib/random/array/t","@stdlib/random/base/t,@stdlib/random/strided/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"
Expand Down Expand Up @@ -2581,6 +2581,7 @@
"@stdlib/random/strided/poisson","@stdlib/random/base/poisson,@stdlib/random/array/poisson"
"@stdlib/random/strided/randu","@stdlib/random/base/randu,@stdlib/random/array/randu,@stdlib/random/strided/uniform"
"@stdlib/random/strided/rayleigh","@stdlib/random/base/rayleigh,@stdlib/random/array/rayleigh"
"@stdlib/random/strided/t","@stdlib/random/base/t,@stdlib/random/array/t"
"@stdlib/random/strided/uniform","@stdlib/random/base/uniform,@stdlib/random/array/uniform,@stdlib/random/strided/discrete-uniform"
"@stdlib/stats/ranks",""
"@stdlib/fs/read-dir","@stdlib/fs/exists,@stdlib/fs/read-file"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2581,6 +2581,7 @@
"@stdlib/random/strided/poisson","@stdlib/random-strided-poisson"
"@stdlib/random/strided/randu","@stdlib/random-strided-randu"
"@stdlib/random/strided/rayleigh","@stdlib/random-strided-rayleigh"
"@stdlib/random/strided/t","@stdlib/random-strided-t"
"@stdlib/random/strided/uniform","@stdlib/random-strided-uniform"
"@stdlib/stats/ranks","@stdlib/stats-ranks"
"@stdlib/fs/read-dir","@stdlib/fs-read-dir"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2581,6 +2581,7 @@
"@stdlib/random-strided-poisson","@stdlib/random/strided/poisson"
"@stdlib/random-strided-randu","@stdlib/random/strided/randu"
"@stdlib/random-strided-rayleigh","@stdlib/random/strided/rayleigh"
"@stdlib/random-strided-t","@stdlib/random/strided/t"
"@stdlib/random-strided-uniform","@stdlib/random/strided/uniform"
"@stdlib/stats-ranks","@stdlib/stats/ranks"
"@stdlib/fs-read-dir","@stdlib/fs/read-dir"
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 @@ -4452,6 +4452,15 @@ random.strided.poisson.stateLength,"var len = random.strided.poisson.stateLength
random.strided.poisson.byteLength,"var sz = random.strided.poisson.byteLength;\n"
random.strided.randu,"var out = azeros( 5, 'generic' );\nrandom.strided.randu( out.length, out, 1 )\n"
random.strided.randu.ndarray,"var out = azeros( 5, 'generic' );\nrandom.strided.randu.ndarray( out.length, out, 1, 0 )\n"
random.strided.rayleigh,"var out = azeros( 5, 'generic' );\nrandom.strided.rayleigh( out.length, [ 2.0 ], 0, out, 1 )\n"
random.strided.rayleigh.ndarray,"var out = azeros( 5, 'generic' );\nrandom.strided.rayleigh.ndarray( out.length, [ 2.0 ], 0, 0, out, 1, 0 )\n"
random.strided.rayleigh.factory,"var fcn = random.strided.rayleigh.factory();\nvar out = azeros( 5, 'generic' );\nfcn( out.length, [ 2.0 ], 0, out, 1 )\n"
random.strided.rayleigh.PRNG,"var prng = random.strided.rayleigh.PRNG;\n"
random.strided.rayleigh.seed,"var seed = random.strided.rayleigh.seed;\n"
random.strided.rayleigh.seedLength,"var len = random.strided.rayleigh.seedLength;\n"
random.strided.rayleigh.state,"var out = azeros( 3, 'generic' );\nrandom.strided.rayleigh( out.length, [ 2.0 ], 0, out, 1 )\nvar state = random.strided.rayleigh.state\nout = azeros( 3, 'generic' );\nrandom.strided.rayleigh( out.length, [ 2.0 ], 0, out, 1 )\nout = azeros( 3, 'generic' );\nrandom.strided.rayleigh( out.length, [ 2.0 ], 0, out, 1 )\nrandom.strided.rayleigh.state = state;\nout = azeros( 3, 'generic' );\nrandom.strided.rayleigh( out.length, [ 2.0 ], 0, out, 1 )\n"
random.strided.rayleigh.stateLength,"var len = random.strided.rayleigh.stateLength;\n"
random.strided.rayleigh.byteLength,"var sz = random.strided.rayleigh.byteLength;\n"
random.strided.uniform,"var a = linspace( 0.0, 1.0, 5 );\nvar b = linspace( 2.0, 5.0, 5 );\nvar out = azeros( 5, 'generic' );\nrandom.strided.uniform( out.length, a, 1, b, 1, out, 1 )\na = linspace( 0.0, 1.0, 6 );\nb = linspace( 2.0, 5.0, 6 );\nout = azeros( 6, 'generic' );\nrandom.strided.uniform( 3, a, -2, b, 1, out, 1 )\n"
random.strided.uniform.ndarray,"var a = linspace( 0.0, 1.0, 5 );\nvar b = linspace( 2.0, 5.0, 5 );\nvar out = azeros( 5, 'generic' );\nrandom.strided.uniform.ndarray( out.length, a, 1, 0, b, 1, 0, out, 1, 0 )\na = linspace( 0.0, 1.0, 6 );\nb = linspace( 2.0, 5.0, 6 );\nout = azeros( 6, 'generic' );\nrandom.strided.uniform.ndarray( 3, a, 2, 1, b, -1, b.length-1, out, 1, 0 )\n"
ranks,"var arr = [ 1.1, 2.0, 3.5, 0.0, 2.4 ] ;\nvar out = ranks( arr )\narr = [ 2, 2, 1, 4, 3 ];\nout = ranks( arr )\narr = [ null, 2, 2, 1, 4, 3, NaN, NaN ];\nout = ranks( arr )\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 4877282

@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/strided $\color{green}249/249$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}249/249$
$\color{green}+100.00\%$
random/strided/rayleigh $\color{green}181/181$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}181/181$
$\color{green}+100.00\%$
random/strided/t $\color{green}181/181$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}0/0$
$\color{green}+100.00\%$
$\color{green}181/181$
$\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.