Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update REPL namespace #1049

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/node_modules/@stdlib/repl/code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ base.cot,"var y = base.cot( 0.0 )\ny = base.cot( -PI/4.0 )\ny = base.cot( PI/4.0
base.coth,"var y = base.coth( 0.0 )\ny = base.coth( -0.0 )\ny = base.coth( 2.0 )\ny = base.coth( -2.0 )\ny = base.coth( +Infinity )\ny = base.coth( -Infinity )\ny = base.coth( NaN )\n"
base.covercos,"var y = base.covercos( 3.14 )\ny = base.covercos( -4.2 )\ny = base.covercos( -4.6 )\ny = base.covercos( 9.5 )\ny = base.covercos( -0.0 )\n"
base.coversin,"var y = base.coversin( 3.14 )\ny = base.coversin( -4.2 )\ny = base.coversin( -4.6 )\ny = base.coversin( 9.5 )\ny = base.coversin( -0.0 )\n"
base.cphase,"var phi = base.cphase( 5.0, 3.0 )\n"
base.cphase,"var phi = base.cphase( new Complex128( 5.0, 3.0 ) )\n"
base.cpolar,"var out = base.cpolar( 5.0, 3.0 )\nout = new Float64Array( 2 );\nvar v = base.cpolar( out, 5.0, 3.0 )\nvar bool = ( v === out )\n"
base.cround,"var out = base.cround( 5.5, 3.3 )\nout = new Float64Array( 2 );\nvar v = base.cround( out, 5.5, 3.3 )\nvar bool = ( v === out )\n"
base.cround,"var v = base.cround( new Complex128( 5.5, 3.3 ) )\nvar re = real( v )\nvar im = imag( v )\n"
base.croundn,"var out = base.croundn( 5.555, -3.336, -2 )\nout = new Float64Array( 2 );\nvar v = base.croundn( out, 5.555, -3.336, -2 )\nvar bool = ( v === out )\n"
base.csch,"var y = base.csch( +0.0 )\nvar y = base.csch( -0.0 )\nvar y = base.csch( +Infinity )\nvar y = base.csch( -Infinity )\ny = base.csch( 2.0 )\ny = base.csch( -2.0 )\ny = base.csch( NaN )\n"
base.csignum,"var out = base.csignum( -4.2, 5.5 )\nout = new Float64Array( 2 );\nvar v = base.csignum( out, -4.2, 5.5 )\nvar bool = ( v === out )\n"
base.csignum,"var v = base.csignum( new Complex128( -4.2, 5.5 ) )\nvar re = real( v )\nvar im = imag( v )\n"
base.csub,"var z1 = new Complex128( 5.0, 3.0 )\nvar z2 = new Complex128( -2.0, 1.0 )\nvar out = base.csub( z1, z2 )\nvar re = real( out )\nvar im = imag( out )\n"
base.csubf,"var z1 = new Complex64( 5.0, 3.0 )\nvar z2 = new Complex64( -2.0, 1.0 )\nvar out = base.csubf( z1, z2 )\nvar re = realf( out )\nvar im = imagf( out )\n"
base.deg2rad,"var r = base.deg2rad( 90.0 )\nr = base.deg2rad( -45.0 )\nr = base.deg2rad( NaN )\n"
Expand Down Expand Up @@ -2436,6 +2436,7 @@ defineMemoizedProperty,"var obj = {};\nfunction foo() {\n return 'bar';\n };\nde
defineProperties,"var obj = {};\ndefineProperties( obj, {\n 'foo': {\n 'value': 'bar',\n 'writable': false,\n 'configurable': false,\n 'enumerable': true\n },\n 'baz': {\n 'value': 13\n }\n });\nobj.foo\nobj.baz\n"
defineProperty,"var obj = {};\ndefineProperty( obj, 'foo', {\n 'value': 'bar',\n 'enumerable': true,\n 'writable': false\n });\nobj.foo = 'boop';\nobj\n"
dirname,"var dir = dirname( './foo/bar/index.js' )\n"
dotcase,"var out = dotcase( 'Hello World!' )\nout = dotcase( 'beep boop' )\n"
DoublyLinkedList,"var list = DoublyLinkedList();\nlist.push( 'foo' ).push( 'bar' );\nlist.length\nlist.pop()\nlist.length\nlist.pop()\nlist.length\n"
doUntil,"function predicate( i ) { return ( i >= 5 ); };\nfunction beep( i ) { console.log( 'boop: %d', i ); };\ndoUntil( beep, predicate )\n"
doUntilAsync,"function fcn( i, next ) {\n setTimeout( onTimeout, i );\n function onTimeout() {\n next( null, 'boop'+i );\n }\n };\nfunction predicate( i, clbk ) { clbk( null, i >= 5 ); };\nfunction done( error, result ) {\n if ( error ) {\n throw error;\n }\n console.log( result );\n };\ndoUntilAsync( fcn, predicate, done )\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.

6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/repl/help/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ base.cot,"\nbase.cot( x )\n Computes the cotangent of a number.\n\n Parame
base.coth,"\nbase.coth( x )\n Computes the hyperbolic cotangent of a number.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Hyperbolic cotangent.\n\n Examples\n --------\n > var y = base.coth( 0.0 )\n Infinity\n > y = base.coth( -0.0 )\n -Infinity\n > y = base.coth( 2.0 )\n ~1.0373\n > y = base.coth( -2.0 )\n ~-1.0373\n > y = base.coth( +Infinity )\n ~1\n > y = base.coth( -Infinity )\n ~-1\n > y = base.coth( NaN )\n NaN\n\n See Also\n --------\n base.acoth, base.cot, base.csch, base.tanh\n"
base.covercos,"\nbase.covercos( x )\n Computes the coversed cosine.\n\n The coversed cosine is defined as `1 + sin(x)`.\n\n Parameters\n ----------\n x: number\n Input value (in radians).\n\n Returns\n -------\n y: number\n Coversed cosine.\n\n Examples\n --------\n > var y = base.covercos( 3.14 )\n ~1.0016\n > y = base.covercos( -4.2 )\n ~1.8716\n > y = base.covercos( -4.6 )\n ~1.9937\n > y = base.covercos( 9.5 )\n ~0.9248\n > y = base.covercos( -0.0 )\n 1.0\n\n See Also\n --------\n base.coversin, base.vercos\n"
base.coversin,"\nbase.coversin( x )\n Computes the coversed sine.\n\n The coversed sine is defined as `1 - sin(x)`.\n\n Parameters\n ----------\n x: number\n Input value (in radians).\n\n Returns\n -------\n y: number\n Coversed sine.\n\n Examples\n --------\n > var y = base.coversin( 3.14 )\n ~0.9984\n > y = base.coversin( -4.2 )\n ~0.1284\n > y = base.coversin( -4.6 )\n ~0.0063\n > y = base.coversin( 9.5 )\n ~1.0752\n > y = base.coversin( -0.0 )\n 1.0\n\n See Also\n --------\n base.covercos, base.versin\n"
base.cphase,"\nbase.cphase( re, im )\n Computes the argument of a complex number in radians.\n\n The argument of a complex number, also known as the phase, is the angle of\n the radius extending from the origin to the complex number plotted in the\n complex plane and the positive real axis.\n\n Parameters\n ----------\n re: number\n Real component.\n\n im: number\n Imaginary component.\n\n Returns\n -------\n phi: number\n Argument.\n\n Examples\n --------\n > var phi = base.cphase( 5.0, 3.0 )\n ~0.5404\n\n See Also\n --------\n base.cabs\n"
base.cphase,"\nbase.cphase( z )\n Computes the argument of a double-precision complex floating-point number\n in radians.\n\n The argument of a complex number, also known as the phase, is the angle of\n the radius extending from the origin to the complex number plotted in the\n complex plane and the positive real axis.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n Returns\n -------\n phi: number\n Argument.\n\n Examples\n --------\n > var phi = base.cphase( new Complex128( 5.0, 3.0 ) )\n ~0.5404\n\n See Also\n --------\n base.cabs\n"
base.cpolar,"\nbase.cpolar( [out,] re, im )\n Returns the absolute value and phase of a complex number.\n\n Parameters\n ----------\n out: Array|TypedArray|Object (optional)\n Output array.\n\n re: number\n Real component.\n\n im: number\n Imaginary component.\n\n Returns\n -------\n out: Array|TypedArray|Object\n Absolute value and phase, respectively.\n\n Examples\n --------\n > var out = base.cpolar( 5.0, 3.0 )\n [ ~5.83, ~0.5404 ]\n\n // Provide an output array:\n > out = new Float64Array( 2 );\n > var v = base.cpolar( out, 5.0, 3.0 )\n <Float64Array>[ ~5.83, ~0.5404 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.cabs, base.cphase\n"
base.cround,"\nbase.cround( [out,] re, im )\n Rounds a complex number to the nearest integer.\n\n Parameters\n ----------\n out: Array|TypedArray|Object (optional)\n Output array.\n\n re: number\n Real component.\n\n im: number\n Imaginary component.\n\n Returns\n -------\n out: Array|TypedArray|Object\n Rounded components.\n\n Examples\n --------\n > var out = base.cround( 5.5, 3.3 )\n [ 6.0, 3.0 ]\n\n // Provide an output array:\n > out = new Float64Array( 2 );\n > var v = base.cround( out, 5.5, 3.3 )\n <Float64Array>[ 6.0, 3.0 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.cceil, base.cfloor, base.croundn\n"
base.cround,"\nbase.cround( z )\n Rounds each component of a double-precision complex floating-point number\n to the nearest integer.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n Returns\n -------\n out: Complex128\n Rounded complex number.\n\n Examples\n --------\n > var v = base.cround( new Complex128( 5.5, 3.3 ) )\n <Complex128>\n > var re = real( v )\n 6.0\n > var im = imag( v )\n 3.0\n\n See Also\n --------\n base.cceil, base.cfloor, base.croundn\n"
base.croundn,"\nbase.croundn( [out,] re, im, n )\n Rounds a complex number to the nearest multiple of `10^n`.\n\n When operating on floating-point numbers in bases other than `2`, rounding\n to specified digits can be inexact.\n\n Parameters\n ----------\n out: Array|TypedArray|Object (optional)\n Output array.\n\n re: number\n Real component.\n\n im: number\n Imaginary component.\n\n n: integer\n Integer power of 10.\n\n Returns\n -------\n out: Array|TypedArray|Object\n Real and imaginary components.\n\n Examples\n --------\n > var out = base.croundn( 5.555, -3.336, -2 )\n [ 5.56, -3.34 ]\n\n // Provide an output array:\n > out = new Float64Array( 2 );\n > var v = base.croundn( out, 5.555, -3.336, -2 )\n <Float64Array>[ 5.56, -3.34 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.cceiln, base.cfloorn, base.cround\n"
base.csch,"\nbase.csch( x )\n Computes the hyperbolic cosecant of a number.\n\n Parameters\n ----------\n x: number\n Input value (in radians).\n\n Returns\n -------\n y: number\n Hyperbolic cosecant.\n\n Examples\n --------\n > var y = base.csch( +0.0 )\n +Infinity\n > var y = base.csch( -0.0 )\n -Infinity\n > var y = base.csch( +Infinity )\n +0.0\n > var y = base.csch( -Infinity )\n -0.0\n > y = base.csch( 2.0 )\n ~0.2757\n > y = base.csch( -2.0 )\n ~-0.2757\n > y = base.csch( NaN )\n NaN\n\n See Also\n --------\n base.acsch, base.coth, base.sinh\n"
base.csignum,"\nbase.csignum( [out,] re, im )\n Evaluates the signum function of a complex number.\n\n Parameters\n ----------\n out: Array|TypedArray|Object (optional)\n Output array.\n\n re: number\n Real component.\n\n im: number\n Imaginary component.\n\n Returns\n -------\n out: Array|TypedArray|Object\n Function result.\n\n Examples\n --------\n > var out = base.csignum( -4.2, 5.5 )\n [ -0.6069136033622302, 0.79476781392673 ]\n\n // Provide an output array:\n > out = new Float64Array( 2 );\n > var v = base.csignum( out, -4.2, 5.5 )\n <Float64Array>[ -0.6069136033622302, 0.79476781392673 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.signum\n"
base.csignum,"\nbase.csignum( z )\n Evaluates the signum function of a double-precision complex floating-point\n number.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n Returns\n -------\n out: Complex128\n Result.\n\n Examples\n --------\n > var v = base.csignum( new Complex128( -4.2, 5.5 ) )\n <Complex128>\n > var re = real( v )\n -0.6069136033622302\n > var im = imag( v )\n 0.79476781392673\n\n See Also\n --------\n base.signum\n"
base.csub,"\nbase.csub( z1, z2 )\n Subtracts two double-precision complex floating-point numbers.\n\n Parameters\n ----------\n z1: Complex128\n Complex number.\n\n z2: Complex128\n Complex number.\n\n Returns\n -------\n out: Complex128\n Result.\n\n Examples\n --------\n > var z1 = new Complex128( 5.0, 3.0 )\n <Complex128>\n > var z2 = new Complex128( -2.0, 1.0 )\n <Complex128>\n > var out = base.csub( z1, z2 )\n <Complex128>\n > var re = real( out )\n 7.0\n > var im = imag( out )\n 2.0\n\n See Also\n --------\n base.cadd, base.cdiv, base.cmul\n"
base.csubf,"\nbase.csubf( z1, z2 )\n Subtracts two single-precision complex floating-point numbers.\n\n Parameters\n ----------\n z1: Complex64\n Complex number.\n\n z2: Complex64\n Complex number.\n\n Returns\n -------\n out: Complex64\n Result.\n\n Examples\n --------\n > var z1 = new Complex64( 5.0, 3.0 )\n <Complex64>\n > var z2 = new Complex64( -2.0, 1.0 )\n <Complex64>\n > var out = base.csubf( z1, z2 )\n <Complex64>\n > var re = realf( out )\n 7.0\n > var im = imagf( out )\n 2.0\n\n See Also\n --------\n base.caddf, base.cmulf, base.csub\n"
base.deg2rad,"\nbase.deg2rad( x )\n Converts an angle from degrees to radians.\n\n Parameters\n ----------\n x: number\n Angle in degrees.\n\n Returns\n -------\n r: number\n Angle in radians.\n\n Examples\n --------\n > var r = base.deg2rad( 90.0 )\n ~1.571\n > r = base.deg2rad( -45.0 )\n ~-0.785\n > r = base.deg2rad( NaN )\n NaN\n\n See Also\n --------\n base.rad2deg\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/help/data/data.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions lib/node_modules/@stdlib/repl/info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ base.cot,"\nbase.cot( x:number )\n Computes the cotangent of a number.\n"
base.coth,"\nbase.coth( x:number )\n Computes the hyperbolic cotangent of a number.\n"
base.covercos,"\nbase.covercos( x:number )\n Computes the coversed cosine.\n"
base.coversin,"\nbase.coversin( x:number )\n Computes the coversed sine.\n"
base.cphase,"\nbase.cphase( re:number, im:number )\n Computes the argument of a complex number in radians.\n"
base.cphase,"\nbase.cphase( z:Complex128 )\n Computes the argument of a double-precision complex floating-point number\n in radians.\n"
base.cpolar,"\nbase.cpolar( [out:Array|TypedArray|Object,] re:number, im:number )\n Returns the absolute value and phase of a complex number.\n"
base.cround,"\nbase.cround( [out:Array|TypedArray|Object,] re:number, im:number )\n Rounds a complex number to the nearest integer.\n"
base.cround,"\nbase.cround( z:Complex128 )\n Rounds each component of a double-precision complex floating-point number\n to the nearest integer.\n"
base.croundn,"\nbase.croundn( [out:Array|TypedArray|Object,] re:number, im:number, n:integer )\n Rounds a complex number to the nearest multiple of `10^n`.\n"
base.csch,"\nbase.csch( x:number )\n Computes the hyperbolic cosecant of a number.\n"
base.csignum,"\nbase.csignum( [out:Array|TypedArray|Object,] re:number, im:number )\n Evaluates the signum function of a complex number.\n"
base.csignum,"\nbase.csignum( z:Complex128 )\n Evaluates the signum function of a double-precision complex floating-point\n number.\n"
base.csub,"\nbase.csub( z1:Complex128, z2:Complex128 )\n Subtracts two double-precision complex floating-point numbers.\n"
base.csubf,"\nbase.csubf( z1:Complex64, z2:Complex64 )\n Subtracts two single-precision complex floating-point numbers.\n"
base.deg2rad,"\nbase.deg2rad( x:number )\n Converts an angle from degrees to radians.\n"
Expand Down Expand Up @@ -2436,6 +2436,7 @@ defineMemoizedProperty,"\ndefineMemoizedProperty( obj:Object, prop:string|symbol
defineProperties,"\ndefineProperties( obj:Object, properties:Object )\n Defines (and/or modifies) object properties.\n"
defineProperty,"\ndefineProperty( obj:Object, prop:string|symbol, descriptor:Object )\n Defines (or modifies) an object property.\n"
dirname,"\ndirname( path:string )\n Returns a directory name.\n"
dotcase,"\ndotcase( str:string )\n Converts a string to dot case.\n"
DoublyLinkedList,"\nDoublyLinkedList()\n Doubly linked list constructor.\n"
doUntil,"\ndoUntil( fcn:Function, predicate:Function[, thisArg:any] )\n Invokes a function until a test condition is true.\n"
doUntilAsync,"\ndoUntilAsync( fcn:Function, predicate:Function, done:Function[, thisArg:any] )\n Invokes a function until a test condition is true.\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.

7 changes: 4 additions & 3 deletions lib/node_modules/@stdlib/repl/signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ base.cot,"base.cot( x )"
base.coth,"base.coth( x )"
base.covercos,"base.covercos( x )"
base.coversin,"base.coversin( x )"
base.cphase,"base.cphase( re, im )"
base.cphase,"base.cphase( z )"
base.cpolar,"base.cpolar( [out,] re, im )"
base.cround,"base.cround( [out,] re, im )"
base.cround,"base.cround( z )"
base.croundn,"base.croundn( [out,] re, im, n )"
base.csch,"base.csch( x )"
base.csignum,"base.csignum( [out,] re, im )"
base.csignum,"base.csignum( z )"
base.csub,"base.csub( z1, z2 )"
base.csubf,"base.csubf( z1, z2 )"
base.deg2rad,"base.deg2rad( x )"
Expand Down Expand Up @@ -2445,6 +2445,7 @@ defineMemoizedProperty,"defineMemoizedProperty( obj, prop, descriptor )"
defineProperties,"defineProperties( obj, properties )"
defineProperty,"defineProperty( obj, prop, descriptor )"
dirname,"dirname( path )"
dotcase,"dotcase( str )"
DoublyLinkedList,"DoublyLinkedList()"
doUntil,"doUntil( fcn, predicate[, thisArg] )"
doUntilAsync,"doUntilAsync( fcn, predicate, done[, thisArg] )"
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/repl/signature/data/data.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions lib/node_modules/@stdlib/repl/typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ base.cot,"base.cot( x:number )"
base.coth,"base.coth( x:number )"
base.covercos,"base.covercos( x:number )"
base.coversin,"base.coversin( x:number )"
base.cphase,"base.cphase( re:number, im:number )"
base.cphase,"base.cphase( z:Complex128 )"
base.cpolar,"base.cpolar( [out:Array|TypedArray|Object,] re:number, im:number )"
base.cround,"base.cround( [out:Array|TypedArray|Object,] re:number, im:number )"
base.cround,"base.cround( z:Complex128 )"
base.croundn,"base.croundn( [out:Array|TypedArray|Object,] re:number, im:number, n:integer )"
base.csch,"base.csch( x:number )"
base.csignum,"base.csignum( [out:Array|TypedArray|Object,] re:number, im:number )"
base.csignum,"base.csignum( z:Complex128 )"
base.csub,"base.csub( z1:Complex128, z2:Complex128 )"
base.csubf,"base.csubf( z1:Complex64, z2:Complex64 )"
base.deg2rad,"base.deg2rad( x:number )"
Expand Down Expand Up @@ -2445,6 +2445,7 @@ defineMemoizedProperty,"defineMemoizedProperty( obj:Object, prop:string|symbol,
defineProperties,"defineProperties( obj:Object, properties:Object )"
defineProperty,"defineProperty( obj:Object, prop:string|symbol, descriptor:Object )"
dirname,"dirname( path:string )"
dotcase,"dotcase( str:string )"
DoublyLinkedList,"DoublyLinkedList()"
doUntil,"doUntil( fcn:Function, predicate:Function[, thisArg:any] )"
doUntilAsync,"doUntilAsync( fcn:Function, predicate:Function, done:Function[, thisArg:any] )"
Expand Down

Large diffs are not rendered by default.

Loading