diff --git a/lib/node_modules/@stdlib/blas/ext/base/gfill-less-than/docs/repl.txt b/lib/node_modules/@stdlib/blas/ext/base/gfill-less-than/docs/repl.txt index b385c8e7cb2d..ad07cdc1a8ab 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gfill-less-than/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/ext/base/gfill-less-than/docs/repl.txt @@ -41,7 +41,7 @@ [ 5.0, 5.0, 1.0, 5.0 ] // Using `N` and stride parameters: - > var x = [ 0.0, 0.0, 1.0, 0.0 ]; + > x = [ 0.0, 0.0, 1.0, 0.0 ]; > {{alias}}( 2, 0.5, 5.0, x, 2 ) [ 5.0, 0.0, 1.0, 0.0 ] @@ -95,7 +95,7 @@ [ 5.0, 5.0, 1.0, 5.0 ] // Using an index offset: - > var x = [ 0.0, 0.0, 1.0, 0.0 ]; + > x = [ 0.0, 0.0, 1.0, 0.0 ]; > {{alias}}.ndarray( 2, 0.5, 5.0, x, 2, 1 ) [ 0.0, 5.0, 1.0, 5.0 ] diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/costi/README.md b/lib/node_modules/@stdlib/fft/base/fftpack/costi/README.md index 9b11b9c1c922..66a10f8c654e 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/costi/README.md +++ b/lib/node_modules/@stdlib/fft/base/fftpack/costi/README.md @@ -141,7 +141,7 @@ var nf = workspace[ (3*N)-1 ]; console.log( ' number of factors: %d', nf ); idx = zeroTo( nf, 'generic' ); -logEach( ' factor[ %d ]: %d', idx, workspace.slice( (3*N)+2, (3*N)+2+nf ) ); +logEach( ' factor[ %d ]: %d', idx, workspace.slice( 3*N, (3*N)+nf ) ); ``` diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/costi/examples/index.js b/lib/node_modules/@stdlib/fft/base/fftpack/costi/examples/index.js index 84874ef03bfb..355a9b5e8e24 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/costi/examples/index.js +++ b/lib/node_modules/@stdlib/fft/base/fftpack/costi/examples/index.js @@ -42,4 +42,4 @@ var nf = workspace[ (3*N)-1 ]; console.log( ' number of factors: %d', nf ); idx = zeroTo( nf, 'generic' ); -logEach( ' factor[ %d ]: %d', idx, workspace.slice( (3*N)+2, (3*N)+2+nf ) ); +logEach( ' factor[ %d ]: %d', idx, workspace.slice( 3*N, (3*N)+nf ) ); diff --git a/lib/node_modules/@stdlib/fft/base/fftpack/costi/test/test.js b/lib/node_modules/@stdlib/fft/base/fftpack/costi/test/test.js index 7e33a4be002b..0602234a1a93 100644 --- a/lib/node_modules/@stdlib/fft/base/fftpack/costi/test/test.js +++ b/lib/node_modules/@stdlib/fft/base/fftpack/costi/test/test.js @@ -300,7 +300,7 @@ tape( 'the function correctly handles stride and offset parameters', function te t.strictEqual( workspace[ offset + ( ( (3*N)-2 ) * stride ) ], N-1, 'returns expected value' ); nf = workspace[ offset + ( ( (3*N)-1 ) * stride ) ]; - t.strictEqual( nf, 2, 'returns expected value2' ); + t.strictEqual( nf, 2, 'returns expected value' ); t.strictEqual( workspace[ offset + ( ( 3*N ) * stride ) ], 2, 'returns expected value' ); t.strictEqual( workspace[ offset + ( ( (3*N)+1 ) * stride ) ], 4, 'returns expected value' ); diff --git a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/README.md b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/README.md index 61ae4bcfdd84..06dfd92a41c6 100644 --- a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/README.md +++ b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/README.md @@ -32,13 +32,13 @@ var getHighWord = require( '@stdlib/number/uint64/base/get-high-word' ); #### getHighWord( x ) -Returns an unsigned 32-bit `integer` corresponding to the high 32-bit word of a [64-bit unsigned integer][@stdlib/number/uint64/ctor]. +Returns an unsigned 32-bit integer corresponding to the high 32-bit word of a [64-bit unsigned integer][@stdlib/number/uint64/ctor]. ```javascript var Uint64 = require( '@stdlib/number/uint64/ctor' ); -var a = new Uint64( 4294967296 ); -var w = getHighWord( a ); +var x = new Uint64( 4294967296 ); +var w = getHighWord( x ); // returns 1 ``` @@ -56,20 +56,20 @@ var w = getHighWord( a ); var Uint64 = require( '@stdlib/number/uint64/ctor' ); var getHighWord = require( '@stdlib/number/uint64/base/get-high-word' ); -var a = new Uint64( 4294967296 ); -console.log( getHighWord( a ) ); +var x = new Uint64( 4294967296 ); +console.log( getHighWord( x ) ); // => 1 -a = new Uint64( 0xffffffff ); -console.log( getHighWord( a ) ); +x = new Uint64( 0xffffffff ); +console.log( getHighWord( x ) ); // => 0 -a = new Uint64( 0x123400005678 ); -console.log( getHighWord( a ) ); +x = new Uint64( 0x123400005678 ); +console.log( getHighWord( x ) ); // => 4660 -a = new Uint64.of( 1234, 5678 ); -console.log( getHighWord( a ) ); +x = Uint64.of( 1234, 5678 ); +console.log( getHighWord( x ) ); // => 1234 ``` diff --git a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/docs/repl.txt b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/docs/repl.txt index 2701a145c081..501d43d255ac 100644 --- a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/docs/repl.txt +++ b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/docs/repl.txt @@ -15,9 +15,9 @@ Examples -------- - > var a = new {{alias:@stdlib/number/uint64/ctor}}( 4294967296 ) + > var x = new {{alias:@stdlib/number/uint64/ctor}}( 4294967296 ) [ 4294967296n ] - > var w = {{alias}}( a ) + > var w = {{alias}}( x ) 1 See Also diff --git a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/examples/index.js b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/examples/index.js index 9b91768807cf..109f27275286 100644 --- a/lib/node_modules/@stdlib/number/uint64/base/get-high-word/examples/index.js +++ b/lib/node_modules/@stdlib/number/uint64/base/get-high-word/examples/index.js @@ -21,18 +21,18 @@ var Uint64 = require( '@stdlib/number/uint64/ctor' ); var getHighWord = require( './../lib' ); -var a = new Uint64( 4294967296 ); -console.log( getHighWord( a ) ); +var x = new Uint64( 4294967296 ); +console.log( getHighWord( x ) ); // => 1 -a = new Uint64( 0xffffffff ); -console.log( getHighWord( a ) ); +x = new Uint64( 0xffffffff ); +console.log( getHighWord( x ) ); // => 0 -a = new Uint64( 0x123400005678 ); -console.log( getHighWord( a ) ); +x = new Uint64( 0x123400005678 ); +console.log( getHighWord( x ) ); // => 4660 -a = new Uint64.of( 1234, 5678 ); -console.log( getHighWord( a ) ); +x = Uint64.of( 1234, 5678 ); +console.log( getHighWord( x ) ); // => 1234 diff --git a/lib/node_modules/@stdlib/random/betaprime/docs/repl.txt b/lib/node_modules/@stdlib/random/betaprime/docs/repl.txt index a7ba74520173..96e8c41dd8d5 100644 --- a/lib/node_modules/@stdlib/random/betaprime/docs/repl.txt +++ b/lib/node_modules/@stdlib/random/betaprime/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( shape, alpha, beta[, options] ) - Returns an ndarray containing pseudorandom numbers drawn from a betaprime + Returns an ndarray containing pseudorandom numbers drawn from a beta prime distribution. Parameters @@ -61,7 +61,7 @@ {{alias}}.assign( alpha, beta, out ) - Fills an ndarray with pseudorandom numbers drawn from a betaprime + Fills an ndarray with pseudorandom numbers drawn from a beta prime distribution. Parameters @@ -93,7 +93,7 @@ {{alias}}.factory( [options] ) Returns a function for generating pseudorandom numbers drawn from a - betaprime distribution. + beta prime distribution. The returned function has the same signature and accepts the same options as `{{alias}}` above. diff --git a/lib/node_modules/@stdlib/random/betaprime/docs/types/index.d.ts b/lib/node_modules/@stdlib/random/betaprime/docs/types/index.d.ts index 4d9aad424886..c5ccfe21c5c9 100644 --- a/lib/node_modules/@stdlib/random/betaprime/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/random/betaprime/docs/types/index.d.ts @@ -119,11 +119,11 @@ interface PRNG { } /** -* Interface for generating pseudorandom numbers drawn from a betaprime distribution. +* Interface for generating pseudorandom numbers drawn from a beta prime distribution. */ interface RandomFunction extends PRNG { /** - * Returns an ndarray containing pseudorandom numbers drawn from a betaprime distribution. + * Returns an ndarray containing pseudorandom numbers drawn from a beta prime distribution. * * @param shape - output shape * @param alpha - first shape parameter @@ -135,7 +135,7 @@ interface RandomFunction extends PRNG { , U extends typedndarray>( shape: Shape, alpha: number | T, beta: number | U, options?: Options ): RandomArray; /** - * Fills an ndarray with pseudorandom numbers drawn from a betaprime distribution. + * Fills an ndarray with pseudorandom numbers drawn from a beta prime distribution. * * @param alpha - first shape parameter * @param beta - second shape parameter @@ -147,11 +147,11 @@ interface RandomFunction extends PRNG { } /** -* Interface for generating pseudorandom numbers drawn from a betaprime distribution. +* Interface for generating pseudorandom numbers drawn from a beta prime distribution. */ interface Random extends PRNG { /** - * Returns an ndarray containing pseudorandom numbers drawn from a betaprime distribution. + * Returns an ndarray containing pseudorandom numbers drawn from a beta prime distribution. * * @param shape - output shape * @param alpha - first shape parameter @@ -167,7 +167,7 @@ interface Random extends PRNG { , U extends typedndarray>( shape: Shape, alpha: number | T, beta: number | U, options?: Options ): RandomArray; /** - * Fills an ndarray with pseudorandom numbers drawn from a betaprime distribution. + * Fills an ndarray with pseudorandom numbers drawn from a beta prime distribution. * * @param alpha - first shape parameter * @param beta - second shape parameter @@ -190,7 +190,7 @@ interface Random extends PRNG { assign, U extends typedndarray, V extends typedndarray>( alpha: number | T, beta: number | U, out: V ): V; /** - * Returns a function for creating ndarrays containing pseudorandom numbers drawn from a betaprime distribution. + * Returns a function for creating ndarrays containing pseudorandom numbers drawn from a beta prime distribution. * * @param options - function options * @throws must provide a valid state @@ -213,7 +213,7 @@ interface Random extends PRNG { } /** -* Generates pseudorandom numbers drawn from a betaprime distribution. +* Generates pseudorandom numbers drawn from a beta prime distribution. * * @param shape - output shape * @param alpha - first shape parameter