Skip to content

Commit

Permalink
feat: update REPL namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte authored and stdlib-bot committed Feb 22, 2024
1 parent 634044b commit ab0004a
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/repl/code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ alias2standalone,"var v = alias2standalone( 'base.sin' )\n"
aliases,"var o = aliases()\no = aliases( '@stdlib/math/base/special' )\n"
allocUnsafe,"var buf = allocUnsafe( 100 )\n"
amskfilter,"var x = [ 1, 2, 3, 4 ];\nvar y = amskfilter( x, [ 0, 1, 0, 1 ] )\n"
amskreject,"var x = [ 1, 2, 3, 4 ];\nvar y = amskreject( x, [ 0, 1, 0, 1 ] )\n"
anans,"var arr = anans( 2 )\narr = anans( 2, 'float32' )\n"
anansLike,"var x = new Float64Array( 2 );\nvar y = anansLike( x )\ny = anansLike( x, 'float32' )\n"
anova1,"var x = [1, 3, 5, 2, 4, 6, 8, 7, 10, 11, 12, 15];\nvar f = [\n 'control', 'treatA', 'treatB', 'treatC', 'control',\n 'treatA', 'treatB', 'treatC', 'control', 'treatA', 'treatB', 'treatC'\n ];\nvar out = anova1( x, f )\n"
Expand Down Expand Up @@ -2464,7 +2465,7 @@ dayOfQuarter,"var day = dayOfQuarter()\nday = dayOfQuarter( new Date() )\nday =
dayOfYear,"var day = dayOfYear()\nday = dayOfYear( new Date() )\nday = dayOfYear( 12, 31, 2016 )\nday = dayOfYear( 'dec', 31, 2016 )\nday = dayOfYear( 'december', 31, 2016 )\n"
daysInMonth,"var num = daysInMonth()\nnum = daysInMonth( 2 )\nnum = daysInMonth( 2, 2016 )\nnum = daysInMonth( 2, 2017 )\nnum = daysInMonth( 'feb', 2016 )\nnum = daysInMonth( 'february', 2016 )\n"
daysInYear,"var num = daysInYear()\nnum = daysInYear( 2016 )\nnum = daysInYear( 2017 )\n"
ddot,"var xbuf = new Float64Array( [ 4.0, 2.0, -3.0, 5.0, -1.0 ] );\nvar x = array( xbuf );\nvar ybuf = new Float64Array( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] );\nvar y = array( ybuf );\nddot( x, y )\n"
ddot,"var x = array( new Float64Array( [ 4.0, 2.0, -3.0, 5.0, -1.0 ] ) );\nvar y = array( new Float64Array( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] ) );\nddot( x, y )\n"
debugSinkStream,"var s = debugSinkStream( { 'name': 'foo' } );\ns.write( 'a' );\ns.write( 'b' );\ns.write( 'c' );\ns.end();\n"
debugSinkStream.factory,"var opts = { 'objectMode': true, 'highWaterMark': 64 };\nvar createStream = debugSinkStream.factory( opts );\n"
debugSinkStream.objectMode,"var s = debugSinkStream.objectMode( { 'name': 'foo' } );\ns.write( { 'value': 'a' } );\ns.write( { 'value': 'b' } );\ns.write( { 'value': 'c' } );\ns.end();\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.

8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/repl/help/data/data.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/help/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/repl/info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ alias2standalone,"\nalias2standalone( alias:string )\n Returns the standalone
aliases,"\naliases( [namespace:string] )\n Returns a list of standard library aliases.\n"
allocUnsafe,"\nallocUnsafe( size:integer )\n Allocates a buffer having a specified number of bytes.\n"
amskfilter,"\namskfilter( x:Array|TypedArray|Object, mask:Array|TypedArray|Object )\n Returns a new array by applying a mask to a provided input array.\n"
amskreject,"\namskreject( x:Array|TypedArray|Object, mask:Array|TypedArray|Object )\n Returns a new array by applying a mask to a provided input array.\n"
anans,"\nanans( length:integer[, dtype:string] )\n Returns an array filled with NaNs and having a specified length.\n"
anansLike,"\nanansLike( x:TypedArray|Array[, dtype:string] )\n Returns an array filled with NaNs and having the same length and data type\n as a provided input array.\n"
anova1,"\nanova1( x:Array<number>, factor:Array[, options:Object] )\n Performs a one-way analysis of variance.\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/info/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/node_modules/@stdlib/repl/signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ alias2standalone,"alias2standalone( alias )"
aliases,"aliases( [namespace] )"
allocUnsafe,"allocUnsafe( size )"
amskfilter,"amskfilter( x, mask )"
amskreject,"amskreject( x, mask )"
anans,"anans( length[, dtype] )"
anansLike,"anansLike( x[, dtype] )"
anova1,"anova1( x, factor[, options] )"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/signature/data/data.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ alias2standalone,"alias2standalone( alias:string )"
aliases,"aliases( [namespace:string] )"
allocUnsafe,"allocUnsafe( size:integer )"
amskfilter,"amskfilter( x:Array|TypedArray|Object, mask:Array|TypedArray|Object )"
amskreject,"amskreject( x:Array|TypedArray|Object, mask:Array|TypedArray|Object )"
anans,"anans( length:integer[, dtype:string] )"
anansLike,"anansLike( x:TypedArray|Array[, dtype:string] )"
anova1,"anova1( x:Array<number>, factor:Array[, options:Object] )"
Expand Down

Large diffs are not rendered by default.

0 comments on commit ab0004a

Please sign in to comment.