Skip to content
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
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/logspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</section>

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/logspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</section>

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/caxpy/docs/repl.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/base/wasm/dswap/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/base/wasm/sswap/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/zaxpy/docs/repl.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<section class="intro">

Expand Down Expand Up @@ -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 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@
};

/**
* 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<T> = Remap<RealFloatingPointDataTypeMap & { 'generic': Array<T> }>;

Expand All @@ -1114,7 +1114,7 @@
};

/**
* 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<T> = Remap<ComplexFloatingPointDataTypeMap & { 'generic': Array<T> }>;

Expand All @@ -1124,7 +1124,7 @@
type FloatingPointDataTypeMap = Remap<RealFloatingPointDataTypeMap & ComplexFloatingPointDataTypeMap>;

/**
* 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<T> = Remap<FloatingPointDataTypeMap & { 'generic': Array<T> }>;

Expand Down Expand Up @@ -2007,7 +2007,7 @@
/**
* "Raw" (original) data type value.
*/
value: any;

Check warning on line 2010 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}

/**
Expand Down Expand Up @@ -5212,7 +5212,7 @@
};

/**
* 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<T> = Remap<RealFloatingPointDataTypeMap & { 'generic': genericndarray<T> }>;

Expand All @@ -5226,7 +5226,7 @@
};

/**
* 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<T> = Remap<ComplexFloatingPointDataTypeMap & { 'generic': genericndarray<T> }>;

Expand All @@ -5236,7 +5236,7 @@
type FloatingPointDataTypeMap = Remap<RealFloatingPointDataTypeMap & ComplexFloatingPointDataTypeMap>;

/**
* 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<T> = Remap<FloatingPointDataTypeMap & { 'generic': genericndarray<T> }>;

Expand Down Expand Up @@ -5890,7 +5890,7 @@
/**
* Value associated with a property (default: `undefined`).
*/
value?: any;

Check warning on line 5893 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}

/**
Expand Down Expand Up @@ -5924,7 +5924,7 @@
* - When the property is accessed, the function is called without arguments and with `this` set to the object through which the property is accessed (note: this may **not** be the object on which the property is defined due to inheritance).
* - The return value will be used as the value of the property.
*/
get?(): any;

Check warning on line 5927 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* A function which serves as a setter for the property.
Expand All @@ -5934,7 +5934,7 @@
* - If omitted from a descriptor, a property value cannot be assigned.
* - When the property is assigned to, the function is called with one argument (the value being assigned to the property) and with `this` set to the object through which the property is assigned.
*/
set?( x: any ): void;

Check warning on line 5937 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}

/**
Expand Down Expand Up @@ -6187,7 +6187,7 @@
* @example
* const rand: PRNG = () => 3.14;
*/
type PRNG = ( ...args: Array<any> ) => number;

Check warning on line 6190 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* A pseudorandom number generator (PRNG) seed for the 32-bit Mersenne Twister (MT19937) PRNG.
Expand Down Expand Up @@ -6407,7 +6407,7 @@
* @param values - input array containing values to write
* @returns boolean indicating whether the underlying WebAssembly memory instance has enough capacity
*/
hasCapacity( byteOffset: number, values: Collection | AccessorArrayLike<any> ): boolean;

Check warning on line 6410 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Returns a boolean indicating whether a provided list of values is a view of the underlying memory of the WebAssembly module.
Expand All @@ -6415,7 +6415,7 @@
* @param values - input array
* @returns boolean indicating whether the list is a memory view
*/
isView( values: Collection | AccessorArrayLike<any> ): boolean;

Check warning on line 6418 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Writes values to the underlying WebAssembly memory instance.
Expand All @@ -6430,7 +6430,7 @@
* @param values - input array containing values to write
* @returns module wrapper instance
*/
write( byteOffset: number, values: Collection | AccessorArrayLike<any> ): ModuleWrapper;

Check warning on line 6433 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Reads values from the underlying WebAssembly memory instance.
Expand All @@ -6445,6 +6445,6 @@
* @param out - output array
* @returns module wrapper instance
*/
read( byteOffset: number, out: Collection | AccessorArrayLike<any> ): ModuleWrapper;

Check warning on line 6448 in lib/node_modules/@stdlib/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type
}
}
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/async/do-until/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/open-url/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
12 changes: 6 additions & 6 deletions lib/node_modules/@stdlib/utils/papply-right/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 );
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/utils/papply/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Loading