diff --git a/lib/node_modules/@stdlib/math/strided/special/abs-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/abs-by/docs/types/index.d.ts index 0285e0947c6..3898235f346 100644 --- a/lib/node_modules/@stdlib/math/strided/special/abs-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/abs-by/docs/types/index.d.ts @@ -101,6 +101,7 @@ type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collecti * @returns accessed value */ type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; + /** * Interface describing `absBy`. */ diff --git a/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/index.d.ts index ac38a4bd0e8..3ef23649fec 100644 --- a/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `abs2By`. @@ -132,7 +129,7 @@ interface Routine { * abs2By( x.length, x, 1, y, 1, accessor ); * // y => [ 1.0, 4.0, 9.0, 16.0, 25.0 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the squared absolute value of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * abs2By.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 1.0, 4.0, 9.0, 16.0, 25.0 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/test.ts index 333143b8d89..15f44afd3b5 100644 --- a/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/abs2-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - abs2By( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - abs2By( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + abs2By( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + abs2By( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - abs2By.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - abs2By.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + abs2By.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + abs2By.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/index.d.ts index ed97ebd4f27..565948a54f0 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acosBy`. @@ -132,7 +129,7 @@ interface Routine { * acosBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~0.786, ~0.524, ~2.356, ~2.618 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the arccosine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~0.786, ~0.524, ~2.356, ~2.618 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/test.ts index 6b9144c5d69..2cb45adc9cb 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acos-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/index.d.ts index 2f57ce9e220..85e0d502173 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acoshBy`. @@ -132,7 +129,7 @@ interface Routine { * acoshBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~0.962, ~1.317, ~1.567, ~1.763 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the hyperbolic arccosine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acoshBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~0.962, ~1.317, ~1.567, ~1.763 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/test.ts index faf0e35dea1..7f0118f37ac 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acosh-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acoshBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acoshBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acoshBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acoshBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acoshBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acoshBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acoshBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acoshBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/index.d.ts index d2634016cf7..5adcc359907 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acotBy`. @@ -132,7 +129,7 @@ interface Routine { * acotBy( x.length, x, 1, y, 1, accessor ); * // y => [ ~-0.381, ~-0.588, ~-1.107, ~1.571, ~1.107 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse cotangent of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acotBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ ~-0.381, ~-0.588, ~-1.107, ~1.571, ~1.107 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/test.ts index a997b5b59e5..1cf701664c2 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acot-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acotBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acotBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acotBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acotBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acotBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acotBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acotBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acotBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/index.d.ts index 50353ed0487..a260d5065d5 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acothBy`. @@ -132,7 +129,7 @@ interface Routine { * acothBy( x.length, x, 1, y, 1, accessor ); * // y => [ ~-0.203, ~-0.255, ~-0.347, -Infinity, Infinity ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse hyperbolic cotangent of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acothBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ ~-0.203, ~-0.255, ~-0.347, -Infinity, Infinity ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/test.ts index 7a4a5a667a4..118f6cc6a33 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acoth-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acothBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acothBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acothBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acothBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acothBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acothBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acothBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acothBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/index.d.ts index aa7e3fd855c..c39c3b1ea41 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acovercosBy`. @@ -132,7 +129,7 @@ interface Routine { * acovercosBy( x.length, x, 1, y, 1, accessor ); * // y => [ ~1.571, ~-0.607, ~0.524, 0.0, ~-0.253 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse coversed cosine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acovercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ ~1.571, ~-0.607, ~0.524, 0.0, ~-0.253 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/test.ts index b1aec463036..eac7e971bf5 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acovercos-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acovercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acovercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acovercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acovercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acovercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acovercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acovercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acovercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/index.d.ts index faa6f81aca2..e6776672e42 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `acoversinBy`. @@ -132,7 +129,7 @@ interface Routine { * acoversinBy( x.length, x, 1, y, 1, accessor ); * // y => [ ~1.571, ~-0.607, ~0.524, 0.0, ~-0.253 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse coversed sine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * acoversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ ~1.571, ~-0.607, ~0.524, 0.0, ~-0.253 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/test.ts index 0dafe0875dd..9bf22ec435b 100644 --- a/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/acoversin-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acoversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - acoversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + acoversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + acoversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - acoversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - acoversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + acoversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + acoversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/index.d.ts index ecb7f400d70..189e88c9c21 100644 --- a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `ahavercosBy`. @@ -132,7 +129,7 @@ interface Routine { * ahavercosBy( x.length, x, 1, y, 1, accessor ); * // y => [ ~3.142, ~1.571, 0.0, ~2.094, ~1.047 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse half-value versed cosine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * ahavercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ ~3.142, ~1.571, 0.0, ~2.094, ~1.047 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/test.ts index cb2b7c377ff..25a13b96fa3 100644 --- a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - ahavercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - ahavercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + ahavercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + ahavercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - ahavercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - ahavercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + ahavercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + ahavercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/index.d.ts index beec8ffaa2f..9dd4166e446 100644 --- a/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `ahaversinBy`. @@ -132,7 +129,7 @@ interface Routine { * ahaversinBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~1.571, ~3.142, ~1.047, ~2.094 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse half-value versed sine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * ahaversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~1.571, ~3.142, ~1.047, ~2.094 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/test.ts index 4495c85797f..b914073ab2c 100644 --- a/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/ahaversin-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - ahaversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - ahaversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + ahaversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + ahaversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - ahaversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - ahaversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + ahaversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + ahaversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/index.d.ts index cab16842c11..96d6cf045df 100644 --- a/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `asinBy`. @@ -132,7 +129,7 @@ interface Routine { * asinBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~-0.524, ~1.571, ~-0.253, ~0.848 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the arcsine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * asinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~-0.524, ~1.571, ~-0.253, ~0.848 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/test.ts index 6d9275a30cf..ab7031e7f5a 100644 --- a/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/asin-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - asinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - asinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + asinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + asinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - asinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - asinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + asinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + asinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/index.d.ts index 94feda6d965..ae970eab5e1 100644 --- a/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `asinhBy`. @@ -132,7 +129,7 @@ interface Routine { * asinhBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, 0.0, ~1.444, ~-1.444, ~0.693 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the hyperbolic arcsine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * asinhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, 0.0, ~1.444, ~-1.444, ~0.693 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/test.ts index 82d35245219..ff52c7ade09 100644 --- a/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/asinh-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - asinhBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - asinhBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + asinhBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + asinhBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - asinhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - asinhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + asinhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + asinhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/index.d.ts index 0e76b6d2560..3ab3d1ff570 100644 --- a/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `atanBy`. @@ -132,7 +129,7 @@ interface Routine { * atanBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~-0.464, ~0.785, ~-0.896, ~1.31 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the arctangent of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * atanBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~-0.464, ~0.785, ~-0.896, ~1.31 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/test.ts index 3af245db6a1..e7f9d6fa4aa 100644 --- a/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/atan-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - atanBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - atanBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + atanBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + atanBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - atanBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - atanBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + atanBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + atanBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/index.d.ts index eac398f99c8..4d6fe6ce838 100644 --- a/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `atanhBy`. @@ -132,7 +129,7 @@ interface Routine { * atanhBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~-0.549, Infinity, ~-0.255, ~0.973 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the hyperbolic arctangent of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * atanhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~-0.549, Infinity, ~-0.255, ~0.973 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/test.ts index 478228cd491..9d5a25fb460 100644 --- a/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/atanh-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - atanhBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - atanhBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + atanhBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + atanhBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - atanhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - atanhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + atanhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + atanhBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/index.d.ts index ea61ab11bd2..c1b73abbf85 100644 --- a/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `avercosBy`. @@ -132,7 +129,7 @@ interface Routine { * avercosBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~2.177, ~1.047, ~1.571, ~1.823 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse versed cosine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * avercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~2.177, ~1.047, ~1.571, ~1.823 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/test.ts index b0635136df6..6e12e36c940 100644 --- a/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/avercos-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - avercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - avercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + avercosBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + avercosBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - avercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - avercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + avercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + avercosBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... diff --git a/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/index.d.ts index f35b2ac7572..cb5609ef592 100644 --- a/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { Collection } from '@stdlib/types/object'; +import { Collection } from '@stdlib/types/array'; /** * Returns an accessed value. @@ -35,7 +35,7 @@ type Nullary = () => number | void; * @param value - array element * @returns accessed value */ -type Unary = ( value: any ) => number | void; +type Unary = ( value: T ) => number | void; /** * Returns an accessed value. @@ -44,7 +44,7 @@ type Unary = ( value: any ) => number | void; * @param idx - iteration index * @returns accessed value */ -type Binary = ( value: any, idx: number ) => number | void; +type Binary = ( value: T, idx: number ) => number | void; /** * Returns an accessed value. @@ -54,7 +54,7 @@ type Binary = ( value: any, idx: number ) => number | void; * @param xi - strided index (offsetX + idx*strideX) * @returns accessed value */ -type Ternary = ( value: any, idx: number, xi: number ) => number | void; +type Ternary = ( value: T, idx: number, xi: number ) => number | void; /** * Returns an accessed value. @@ -65,8 +65,7 @@ type Ternary = ( value: any, idx: number, xi: number ) => number | void; * @param yi - strided index (offsetY + idx*strideY) * @returns accessed value */ -type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number | void; // tslint-disable-line max-line-length - +type Quaternary = ( value: T, idx: number, xi: number, yi: number ) => number | void; /** * Returns an accessed value. * @@ -77,8 +76,7 @@ type Quaternary = ( value: any, idx: number, xi: number, yi: number ) => number * @param x - input array * @returns accessed value */ -type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection ) => number | void; // tslint-disable-line max-line-length - +type Quinary = ( value: T, idx: number, xi: number, yi: number, x: Collection ) => number | void; /** * Returns an accessed value. * @@ -90,8 +88,7 @@ type Quinary = ( value: any, idx: number, xi: number, yi: number, x: Collection * @param y - output array * @returns accessed value */ -type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; // tslint-disable-line max-line-length - +type Senary = ( value: T, idx: number, xi: number, yi: number, x: Collection, y: Collection ) => number | void; /** * Returns an accessed value. * @@ -103,7 +100,7 @@ type Senary = ( value: any, idx: number, xi: number, yi: number, x: Collection, * @param y - output array * @returns accessed value */ -type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; // tslint-disable-line max-line-length +type Callback = Nullary | Unary | Binary | Ternary | Quaternary | Quinary | Senary; /** * Interface describing `aversinBy`. @@ -132,7 +129,7 @@ interface Routine { * aversinBy( x.length, x, 1, y, 1, accessor ); * // y => [ 0.0, ~2.177, ~1.047, ~1.571, ~1.823 ] */ - ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ( N: number, x: Collection, strideX: number, y: Collection, strideY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; /** * Computes the inverse versed sine of each element retrieved from an input strided array `x` via a callback function and assigns each result to an element in an output strided array `y` using alternative indexing semantics. @@ -159,7 +156,7 @@ interface Routine { * aversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); * // y => [ 0.0, ~2.177, ~1.047, ~1.571, ~1.823 ] */ - ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: any ): Collection; // tslint:disable-line:max-line-length + ndarray( N: number, x: Collection, strideX: number, offsetX: number, y: Collection, strideY: number, offsetY: number, clbk: Callback, thisArg?: ThisParameterType> ): Collection; } /** diff --git a/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/test.ts b/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/test.ts index aa895fe2377..988a8029746 100644 --- a/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/test.ts +++ b/lib/node_modules/@stdlib/math/strided/special/aversin-by/docs/types/test.ts @@ -35,8 +35,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - aversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection - aversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection + aversinBy( x.length, x, 1, y, 1, accessor ); // $ExpectType Collection + aversinBy( x.length, x, 1, y, 1, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the function is provided a first argument which is not a number... @@ -143,8 +143,8 @@ function accessor(): number { const x = new Float64Array( 10 ); const y = new Float64Array( 10 ); - aversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection - aversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection + aversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor ); // $ExpectType Collection + aversinBy.ndarray( x.length, x, 1, 0, y, 1, 0, accessor, {} ); // $ExpectType Collection } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...