diff --git a/lib/node_modules/@stdlib/array/base/logspace/README.md b/lib/node_modules/@stdlib/array/base/logspace/README.md index 9b3f9de33f9a..60c46177400f 100644 --- a/lib/node_modules/@stdlib/array/base/logspace/README.md +++ b/lib/node_modules/@stdlib/array/base/logspace/README.md @@ -47,7 +47,7 @@ var arr = logspace( 0, 2, 6 ); ## Notes -- The output `array` includes the values `10^a` and `10^b`. **Beware** of floating point errors, including for the first and last `array` elements. +- The output `array` includes the values `10^a` and `10^b`. **Beware** of floating-point errors, including for the first and last `array` elements. diff --git a/lib/node_modules/@stdlib/array/logspace/README.md b/lib/node_modules/@stdlib/array/logspace/README.md index 243285dc8b41..0723efa05c87 100644 --- a/lib/node_modules/@stdlib/array/logspace/README.md +++ b/lib/node_modules/@stdlib/array/logspace/README.md @@ -47,7 +47,7 @@ var arr = logspace( 0, 2, 6 ); ## Notes -- The output `array` includes the values `10^a` and `10^b`. **Beware** of floating point errors, including for the first and last `array` elements. +- The output `array` includes the values `10^a` and `10^b`. **Beware** of floating-point errors, including for the first and last `array` elements. diff --git a/lib/node_modules/@stdlib/blas/base/caxpy/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/caxpy/docs/repl.txt index 8704c1522501..1678e8b072d2 100644 --- a/lib/node_modules/@stdlib/blas/base/caxpy/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/caxpy/docs/repl.txt @@ -1,7 +1,7 @@ {{alias}}( N, alpha, x, strideX, y, strideY ) Scales a single-precision complex floating-point vector by a single- - precision complex floating point constant and adds the result to a single- + precision complex floating-point constant and adds the result to a single- precision complex floating-point vector. The `N` and stride parameters determine how values from `x` are scaled by diff --git a/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/repl.txt index f48b2e37e25c..069e5c37bec2 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/repl.txt @@ -440,7 +440,7 @@ {{alias}}.Module.prototype.main( N, xp, sx, yp, sy ) - Interchanges two double-precision floating point vectors. + Interchanges two double-precision floating-point vectors. Parameters ---------- @@ -489,7 +489,7 @@ {{alias}}.Module.prototype.ndarray( N, xp, sx, ox, yp, sy, oy ) - Interchanges two double-precision floating point vectors using alternative + Interchanges two double-precision floating-point vectors using alternative indexing semantics. Parameters diff --git a/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/types/index.d.ts index 723ad915b997..fd6708706112 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/types/index.d.ts @@ -146,7 +146,7 @@ interface ModuleConstructor { */ interface Module extends ModuleWrapper { /** - * Interchanges two double-precision floating point vectors. + * Interchanges two double-precision floating-point vectors. * * @param N - number of indexed elements * @param xptr - first input array pointer (i.e., byte offset) @@ -207,7 +207,7 @@ interface Module extends ModuleWrapper { main( N: number, xptr: number, strideX: number, yptr: number, strideY: number ): number; /** - * Interchanges two double-precision floating point vectors using alternative indexing semantics. + * Interchanges two double-precision floating-point vectors using alternative indexing semantics. * * @param N - number of indexed elements * @param xptr - first input array pointer (i.e., byte offset) @@ -275,7 +275,7 @@ interface Module extends ModuleWrapper { */ interface Routine extends ModuleWrapper { /** - * Interchanges two double-precision floating point vectors. + * Interchanges two double-precision floating-point vectors. * * @param N - number of indexed elements * @param x - first input array @@ -297,7 +297,7 @@ interface Routine extends ModuleWrapper { main( N: number, x: Float64Array, strideX: number, y: Float64Array, strideY: number ): Float64Array; /** - * Interchanges two double-precision floating point vectors using alternative indexing semantics. + * Interchanges two double-precision floating-point vectors using alternative indexing semantics. * * @param N - number of indexed elements * @param x - first input array @@ -379,7 +379,7 @@ interface Routine extends ModuleWrapper { } /** -* Interchanges two double-precision floating point vectors. +* Interchanges two double-precision floating-point vectors. * * @param N - number of indexed elements * @param x - first input array diff --git a/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/repl.txt index 2e84f3918750..ead6e8551246 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/repl.txt @@ -440,7 +440,7 @@ {{alias}}.Module.prototype.main( N, xp, sx, yp, sy ) - Interchanges two single-precision floating point vectors. + Interchanges two single-precision floating-point vectors. Parameters ---------- @@ -489,7 +489,7 @@ {{alias}}.Module.prototype.ndarray( N, xp, sx, ox, yp, sy, oy ) - Interchanges two single-precision floating point vectors using alternative + Interchanges two single-precision floating-point vectors using alternative indexing semantics. Parameters diff --git a/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/types/index.d.ts index 6d8c367f0d34..973ce039396c 100644 --- a/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/types/index.d.ts @@ -146,7 +146,7 @@ interface ModuleConstructor { */ interface Module extends ModuleWrapper { /** - * Interchanges two single-precision floating point vectors. + * Interchanges two single-precision floating-point vectors. * * @param N - number of indexed elements * @param xptr - first input array pointer (i.e., byte offset) @@ -207,7 +207,7 @@ interface Module extends ModuleWrapper { main( N: number, xptr: number, strideX: number, yptr: number, strideY: number ): number; /** - * Interchanges two single-precision floating point vectors using alternative indexing semantics. + * Interchanges two single-precision floating-point vectors using alternative indexing semantics. * * @param N - number of indexed elements * @param xptr - first input array pointer (i.e., byte offset) @@ -275,7 +275,7 @@ interface Module extends ModuleWrapper { */ interface Routine extends ModuleWrapper { /** - * Interchanges two single-precision floating point vectors. + * Interchanges two single-precision floating-point vectors. * * @param N - number of indexed elements * @param x - first input array @@ -297,7 +297,7 @@ interface Routine extends ModuleWrapper { main( N: number, x: Float32Array, strideX: number, y: Float32Array, strideY: number ): Float32Array; /** - * Interchanges two single-precision floating point vectors using alternative indexing semantics. + * Interchanges two single-precision floating-point vectors using alternative indexing semantics. * * @param N - number of indexed elements * @param x - first input array @@ -379,7 +379,7 @@ interface Routine extends ModuleWrapper { } /** -* Interchanges two single-precision floating point vectors. +* Interchanges two single-precision floating-point vectors. * * @param N - number of indexed elements * @param x - first input array diff --git a/lib/node_modules/@stdlib/blas/base/zaxpy/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/zaxpy/docs/repl.txt index 5d297cc333d8..9a1fa0828257 100644 --- a/lib/node_modules/@stdlib/blas/base/zaxpy/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/zaxpy/docs/repl.txt @@ -1,7 +1,7 @@ {{alias}}( N, alpha, x, strideX, y, strideY ) Scales a double-precision complex floating-point vector by a double- - precision complex floating point constant and adds the result to a double- + precision complex floating-point constant and adds the result to a double- precision complex floating-point vector. The `N` and stride parameters determine how values from `x` are scaled by diff --git a/lib/node_modules/@stdlib/math/base/special/ahavercosf/README.md b/lib/node_modules/@stdlib/math/base/special/ahavercosf/README.md index bc99e3efd75c..c444042eba0b 100644 --- a/lib/node_modules/@stdlib/math/base/special/ahavercosf/README.md +++ b/lib/node_modules/@stdlib/math/base/special/ahavercosf/README.md @@ -20,7 +20,7 @@ limitations under the License. # ahavercosf -> Compute the [inverse half-value versed cosine][archavercosine] of a single-precision floating point number. +> Compute the [inverse half-value versed cosine][archavercosine] of a single-precision floating-point number.
@@ -53,7 +53,7 @@ var ahavercosf = require( '@stdlib/math/base/special/ahavercosf' ); #### ahavercosf( x ) -Computes the [inverse half-value versed cosine][archavercosine] of a single-precision floating point number (in radians). +Computes the [inverse half-value versed cosine][archavercosine] of a single-precision floating-point number (in radians). ```javascript var v = ahavercosf( 0.0 ); diff --git a/lib/node_modules/@stdlib/math/base/special/ahavercosf/lib/main.js b/lib/node_modules/@stdlib/math/base/special/ahavercosf/lib/main.js index 41bcf9306316..338143b4af6b 100644 --- a/lib/node_modules/@stdlib/math/base/special/ahavercosf/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/ahavercosf/lib/main.js @@ -28,7 +28,7 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); // MAIN // /** -* Computes the inverse half-value versed cosine of a single-precision floating point number. +* Computes the inverse half-value versed cosine of a single-precision floating-point number. * * @param {number} x - input value * @returns {number} inverse half-value versed cosine diff --git a/lib/node_modules/@stdlib/math/base/special/ahavercosf/package.json b/lib/node_modules/@stdlib/math/base/special/ahavercosf/package.json index 6194bca8f156..f70e38bbe931 100644 --- a/lib/node_modules/@stdlib/math/base/special/ahavercosf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/ahavercosf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/ahavercosf", "version": "0.0.0", - "description": "Compute the inverse half-value versed cosine for a single-precision floating point number.", + "description": "Compute the inverse half-value versed cosine for a single-precision floating-point number.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/math/base/special/floor2f/include/stdlib/math/base/special/floor2f.h b/lib/node_modules/@stdlib/math/base/special/floor2f/include/stdlib/math/base/special/floor2f.h index 00a3887724dc..d783396c4a2c 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor2f/include/stdlib/math/base/special/floor2f.h +++ b/lib/node_modules/@stdlib/math/base/special/floor2f/include/stdlib/math/base/special/floor2f.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Rounds a single-precision floating point number to the nearest power of two toward negative infinity. +* Rounds a single-precision floating-point number to the nearest power of two toward negative infinity. */ float stdlib_base_floor2f( const float x ); diff --git a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/index.js b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/index.js index 107cb3b831d3..580a6ad79691 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Round a single-precision floating point number to the nearest power of two toward negative infinity. +* Round a single-precision floating-point number to the nearest power of two toward negative infinity. * * @module @stdlib/math/base/special/floor2f * diff --git a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/main.js b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/main.js index c23fe4b42cd1..ed982f93bdfe 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/main.js @@ -42,7 +42,7 @@ var ONE = f32( 1.0 ); // MAIN // /** -* Rounds a single-precision floating point number to the nearest power of two toward negative infinity. +* Rounds a single-precision floating-point number to the nearest power of two toward negative infinity. * * @param {number} x - input value * @returns {number} rounded value diff --git a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/native.js b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/native.js index c46f0f7cd6df..183fbbea3526 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor2f/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/floor2f/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Rounds a single-precision floating point number to the nearest power of two toward negative infinity. +* Rounds a single-precision floating-point number to the nearest power of two toward negative infinity. * * @private * @param {number} x - input value diff --git a/lib/node_modules/@stdlib/math/base/special/floor2f/src/main.c b/lib/node_modules/@stdlib/math/base/special/floor2f/src/main.c index f27da9ca1fb2..84f705fd3110 100644 --- a/lib/node_modules/@stdlib/math/base/special/floor2f/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/floor2f/src/main.c @@ -32,7 +32,7 @@ extern float log2f( const float x ); /** -* Rounds a single-precision floating point number to the nearest power of two toward negative infinity. +* Rounds a single-precision floating-point number to the nearest power of two toward negative infinity. * * @param x input value * @return rounded value diff --git a/lib/node_modules/@stdlib/types/index.d.ts b/lib/node_modules/@stdlib/types/index.d.ts index f0b0cdc7a414..10f2f8490b7e 100644 --- a/lib/node_modules/@stdlib/types/index.d.ts +++ b/lib/node_modules/@stdlib/types/index.d.ts @@ -1100,7 +1100,7 @@ declare module '@stdlib/types/array' { }; /** - * Mapping of real floating point data types and the "generic" data type to array constructors. + * Mapping of real floating-point data types and the "generic" data type to array constructors. */ type RealFloatingPointAndGenericDataTypeMap = Remap }>; @@ -1114,7 +1114,7 @@ declare module '@stdlib/types/array' { }; /** - * Mapping of complex floating point data types and the "generic" data type to array constructors. + * Mapping of complex floating-point data types and the "generic" data type to array constructors. */ type ComplexFloatingPointAndGenericDataTypeMap = Remap }>; @@ -1124,7 +1124,7 @@ declare module '@stdlib/types/array' { type FloatingPointDataTypeMap = Remap; /** - * Mapping for floating point (real or complex) data types and the "generic" data type to array constructors. + * Mapping for floating-point (real or complex) data types and the "generic" data type to array constructors. */ type FloatingPointAndGenericDataTypeMap = Remap }>; @@ -5212,7 +5212,7 @@ declare module '@stdlib/types/ndarray' { }; /** - * Mapping of real floating point data types and the "generic" data type to ndarray constructors. + * Mapping of real floating-point data types and the "generic" data type to ndarray constructors. */ type RealFloatingPointAndGenericDataTypeMap = Remap }>; @@ -5226,7 +5226,7 @@ declare module '@stdlib/types/ndarray' { }; /** - * Mapping of complex floating point data types and the "generic" data type to ndarray constructors. + * Mapping of complex floating-point data types and the "generic" data type to ndarray constructors. */ type ComplexFloatingPointAndGenericDataTypeMap = Remap }>; @@ -5236,7 +5236,7 @@ declare module '@stdlib/types/ndarray' { type FloatingPointDataTypeMap = Remap; /** - * Mapping for floating point (real or complex) data types and the "generic" data type to ndarray constructors. + * Mapping for floating-point (real or complex) data types and the "generic" data type to ndarray constructors. */ type FloatingPointAndGenericDataTypeMap = Remap }>; diff --git a/lib/node_modules/@stdlib/utils/async/do-until/lib/main.js b/lib/node_modules/@stdlib/utils/async/do-until/lib/main.js index 6e9bbee43afc..407a2a27f7dc 100644 --- a/lib/node_modules/@stdlib/utils/async/do-until/lib/main.js +++ b/lib/node_modules/@stdlib/utils/async/do-until/lib/main.js @@ -91,9 +91,9 @@ function doUntilAsync( fcn, predicate, done, thisArg ) { // Cache the most recent results... if ( arguments.length > 1 ) { - args = new Array( arguments.length-1 ); + args = []; for ( i = 1; i < arguments.length; i++ ) { - args[ i-1 ] = arguments[ i ]; + args.push( arguments[ i ] ); } } // Run the test condition: diff --git a/lib/node_modules/@stdlib/utils/open-url/lib/main.js b/lib/node_modules/@stdlib/utils/open-url/lib/main.js index 8a9dac2ebdb5..41325ebdb0d1 100644 --- a/lib/node_modules/@stdlib/utils/open-url/lib/main.js +++ b/lib/node_modules/@stdlib/utils/open-url/lib/main.js @@ -70,9 +70,9 @@ function openURL( url ) { if ( !isURI( url ) ) { throw new TypeError( format( 'invalid argument. Must provide a valid URI. Value: `%s`.', url ) ); } - args = new Array( ARGS.length ); + args = []; for ( i = 0; i < ARGS.length; i++ ) { - args[ i ] = ARGS[ i ]; + args.push( ARGS[ i ] ); } if ( IS_WINDOWS ) { // `&` characters must be escaped when passed to `start`: diff --git a/lib/node_modules/@stdlib/utils/papply-right/lib/main.js b/lib/node_modules/@stdlib/utils/papply-right/lib/main.js index 0ddc88f07e46..a0376a90c992 100644 --- a/lib/node_modules/@stdlib/utils/papply-right/lib/main.js +++ b/lib/node_modules/@stdlib/utils/papply-right/lib/main.js @@ -55,9 +55,9 @@ function papplyRight( fcn ) { throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ) ); } len = arguments.length - 1; - pargs = new Array( len ); + pargs = []; for ( i = 1; i < arguments.length; i++ ) { - pargs[ i-1 ] = arguments[ i ]; + pargs.push( arguments[ i ] ); } return pappliedRight; @@ -73,12 +73,12 @@ function papplyRight( fcn ) { var args; var j; nargs = arguments.length; - args = new Array( len+nargs ); - for ( j = 0; j < args.length; j++ ) { + args = []; + for ( j = 0; j < len+nargs; j++ ) { if ( j >= nargs ) { - args[ j ] = pargs[ j-nargs ]; + args.push( pargs[ j-nargs ] ); } else { - args[ j ] = arguments[ j ]; + args.push( arguments[ j ] ); } } return fcn.apply( null, args ); diff --git a/lib/node_modules/@stdlib/utils/papply/lib/main.js b/lib/node_modules/@stdlib/utils/papply/lib/main.js index d132c5562f58..28228551b68c 100644 --- a/lib/node_modules/@stdlib/utils/papply/lib/main.js +++ b/lib/node_modules/@stdlib/utils/papply/lib/main.js @@ -50,9 +50,9 @@ function papply( fcn ) { if ( !isFunction( fcn ) ) { throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', fcn ) ); } - pargs = new Array( arguments.length-1 ); + pargs = []; for ( i = 1; i < arguments.length; i++ ) { - pargs[ i-1 ] = arguments[ i ]; + pargs.push( arguments[ i ] ); } return papplied;