Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 3, 2023
1 parent ea2904f commit 79cef14
Show file tree
Hide file tree
Showing 33 changed files with 155 additions and 155 deletions.
18 changes: 9 additions & 9 deletions base/arraylike2object/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ type GetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number ) => T | void;
* @param idx - element index
* @returns element value
*/
type GetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number ) => T | void; // tslint:disable-line:max-line-length
type GetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number ) => T | void;

/**
* Sets an element in a `Float64Array`.
Expand Down Expand Up @@ -238,7 +238,7 @@ type SetUint8c = ( arr: Uint8ClampedArray, idx: number, value: number ) => void;
* @param idx - element index
* @param value - value to set
*/
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void;

/**
* Sets an element in a `Complex64Array`.
Expand All @@ -247,7 +247,7 @@ type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) =
* @param idx - element index
* @param value - value to set
*/
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void;

/**
* Sets an element in a generic `Array`.
Expand All @@ -265,7 +265,7 @@ type SetGeneric<T> = ( arr: Array<T>, idx: number, value: T ) => void;
* @param idx - element index
* @param value - value to set
*/
type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => void; // tslint:disable-line:max-line-length
type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => void;

/**
* Sets an element in an array-like object supporting the get/set protocol.
Expand All @@ -274,7 +274,7 @@ type SetIndexedArrayLike<T> = ( arr: Collection<T>, idx: number, value: T ) => v
* @param idx - element index
* @param value - value to set
*/
type SetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => void; // tslint:disable-line:max-line-length
type SetAccessorArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => void;

/**
* Interface describing the output object for a `Float64Array`.
Expand Down Expand Up @@ -834,7 +834,7 @@ declare function arraylike2object( x: Uint8ClampedArray ): Uint8cAccessorObject;
* var v = fcns[ 0 ]( x, 1 );
* // returns <Complex128>
*/
declare function arraylike2object( x: Complex128Array ): Complex128AccessorObject; // tslint:disable-line:max-line-length
declare function arraylike2object( x: Complex128Array ): Complex128AccessorObject;

/**
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
Expand Down Expand Up @@ -900,7 +900,7 @@ declare function arraylike2object( x: Complex64Array ): Complex64AccessorObject;
* var v = fcns[ 0 ]( x.data, 2 );
* // returns 3
*/
declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSetAccessorObject<T>; // tslint:disable-line:max-line-length
declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSetAccessorObject<T>;

/**
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
Expand All @@ -926,7 +926,7 @@ declare function arraylike2object<T = unknown>( x: AccessorArrayLike<T> ): GetSe
* var v = fcns[ 0 ]( x.data, 2 );
* // returns 3
*/
declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorObject<T>; // tslint:disable-line:max-line-length
declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorObject<T>;

/**
* Converts a one-dimensional array-like object to an object likely to have the same "shape".
Expand Down Expand Up @@ -958,7 +958,7 @@ declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorOb
* var v = fcns[ 0 ]( x.data, 2 );
* // returns 3
*/
declare function arraylike2object<T = unknown>( x: Collection<T> ): IndexedAccessorObject<T>; // tslint:disable-line:max-line-length
declare function arraylike2object<T = unknown>( x: Collection<T> ): IndexedAccessorObject<T>;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/assert/is-accessor-array/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ interface AccessorArray {
* var bool = isAccessorArray( [] );
* // returns false
*/
declare function isAccessorArray( value: Collection | AccessorArray ): value is AccessorArray; // tslint-disable-line max-line-length
declare function isAccessorArray( value: Collection | AccessorArray ): value is AccessorArray;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/cartesian-product/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { Collection } from '@stdlib/types/array';
* var out = cartesianProduct( x1, x2 );
* // returns [ [ 1, 4 ], [ 1, 5 ], [ 2, 4 ], [ 2, 5 ], [ 3, 4 ], [ 3, 5 ] ]
*/
declare function cartesianProduct<T = unknown, U = unknown>( x1: Collection<T>, x2: Collection<U> ): Array<[T, U]>; // tslint:disable-line:max-line-length
declare function cartesianProduct<T = unknown, U = unknown>( x1: Collection<T>, x2: Collection<U> ): Array<[T, U]>;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion base/incrspace/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* var arr = incrspace( 0, 11, 2 );
* // returns [ 0, 2, 4, 6, 8, 10 ]
*/
declare function incrspace( x1: number, x2: number, increment: number ): Array<number>; // tslint-disable-line max-line-length
declare function incrspace( x1: number, x2: number, increment: number ): Array<number>;


// EXPORTS //
Expand Down
10 changes: 5 additions & 5 deletions complex128/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
* var len = arr.length;
* // returns 2
*/
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ); // tslint:disable-line:max-line-length
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number );

/**
* Length (in bytes) of the array.
Expand Down Expand Up @@ -290,7 +290,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
* im = imag( z );
* // returns -1.0
*/
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void; // tslint:disable-line:max-line-length
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void;
}

/**
Expand Down Expand Up @@ -364,7 +364,7 @@ interface Complex128ArrayConstructor {
* var len = arr.length;
* // returns 2
*/
new( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex128Array; // tslint-disable-line max-line-length
new( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex128Array;

/**
* 128-bit complex number array constructor.
Expand Down Expand Up @@ -433,7 +433,7 @@ interface Complex128ArrayConstructor {
* var len = arr.length;
* // returns 2
*/
( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex128Array; // tslint-disable-line max-line-length
( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex128Array;

/**
* Constructor name.
Expand Down Expand Up @@ -495,7 +495,7 @@ interface Complex128ArrayConstructor {
* var len = arr.length;
* // returns 1
*/
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex128Array; // tslint:disable-line:max-line-length
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex128Array;

/**
* Creates a new 128-bit complex number array from a variable number of arguments.
Expand Down
10 changes: 5 additions & 5 deletions complex64/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
* var len = arr.length;
* // returns 2
*/
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ); // tslint:disable-line:max-line-length
constructor( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number );

/**
* Length (in bytes) of the array.
Expand Down Expand Up @@ -290,7 +290,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
* im = imagf( z );
* // returns -1.0
*/
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void; // tslint:disable-line:max-line-length
set( value: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | ComplexLike, i?: number ): void;
}

/**
Expand Down Expand Up @@ -364,7 +364,7 @@ interface Complex64ArrayConstructor {
* var len = arr.length;
* // returns 2
*/
new( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex64Array; // tslint-disable-line max-line-length
new( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex64Array;

/**
* 64-bit complex number array constructor.
Expand Down Expand Up @@ -433,7 +433,7 @@ interface Complex64ArrayConstructor {
* var len = arr.length;
* // returns 2
*/
( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex64Array; // tslint-disable-line max-line-length
( arg?: number | RealOrComplexTypedArray | ArrayLike<number | ComplexLike> | ArrayBuffer | Iterable<number | ComplexLike>, byteOffset?: number, length?: number ): Complex64Array;

/**
* Constructor name.
Expand Down Expand Up @@ -495,7 +495,7 @@ interface Complex64ArrayConstructor {
* var len = arr.length;
* // returns 1
*/
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex64Array; // tslint:disable-line:max-line-length
from( src: ArrayLike<number | ComplexLike> | RealOrComplexTypedArray | Iterable<number | ComplexLike>, clbk?: Function, thisArg?: any ): Complex64Array;

/**
* Creates a new 64-bit complex number array from a variable number of arguments.
Expand Down
6 changes: 3 additions & 3 deletions convert-same/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ declare function convertSame( x: Collection, y: Uint8Array ): Uint8Array;
* var out = convertSame( x, y );
* // returns <Uint8ClampedArray>[ 1, 2, 3, 4 ]
*/
declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8ClampedArray; // tslint:disable-line:max-line-length
declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8ClampedArray;

/**
* Converts an array to a `Complex128Array`.
Expand All @@ -200,7 +200,7 @@ declare function convertSame( x: Collection, y: Uint8ClampedArray ): Uint8Clampe
* var out = convertSame( x, y );
* // returns <Complex128Array>
*/
declare function convertSame( x: Collection, y: Complex128Array ): Complex128Array; // tslint:disable-line:max-line-length
declare function convertSame( x: Collection, y: Complex128Array ): Complex128Array;

/**
* Converts an array to a `Complex64Array`.
Expand All @@ -218,7 +218,7 @@ declare function convertSame( x: Collection, y: Complex128Array ): Complex128Arr
* var out = convertSame( x, y );
* // returns <Complex64Array>
*/
declare function convertSame( x: Collection, y: Complex64Array ): Complex64Array; // tslint:disable-line:max-line-length
declare function convertSame( x: Collection, y: Complex64Array ): Complex64Array;

/**
* Converts an array to a generic `Array`.
Expand Down
4 changes: 2 additions & 2 deletions datespace/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ interface Options {
* var arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* // returns [...]
*/
declare function datespace( start: Date | number | string, stop: Date | number | string, options?: Options ): Array<Date>; // tslint-disable-line max-line-length
declare function datespace( start: Date | number | string, stop: Date | number | string, options?: Options ): Array<Date>;

/**
* Generates an array of linearly spaced dates.
Expand Down Expand Up @@ -84,7 +84,7 @@ declare function datespace( start: Date | number | string, stop: Date | number |
* var arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* // returns [...]
*/
declare function datespace( start: Date | number | string, stop: Date | number | string, length: number, options?: Options ): Array<Date>; // tslint-disable-line max-line-length
declare function datespace( start: Date | number | string, stop: Date | number | string, length: number, options?: Options ): Array<Date>;


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion dtype/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ declare function dtype( value: Array<any> ): 'generic';
* var dt = dtype( 'beep' );
* // returns null
*/
declare function dtype( value: Array<any> | RealOrComplexTypedArray ): DataType | null; // tslint:disable-line:max-line-length
declare function dtype( value: Array<any> | RealOrComplexTypedArray ): DataType | null;


// EXPORTS //
Expand Down
6 changes: 3 additions & 3 deletions empty-like/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ declare function emptyLike( x: Float32Array, dtype?: DataType ): Float32Array;
* var arr = emptyLike( x );
* // returns <Complex128Array>
*/
declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Array; // tslint:disable-line:max-line-length
declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Array;

/**
* Creates an uninitialized array having the same length and data type as a provided input array.
Expand Down Expand Up @@ -443,7 +443,7 @@ declare function emptyLike( x: Complex128Array, dtype?: DataType ): Complex128Ar
* var arr = emptyLike( x );
* // returns <Complex64Array>
*/
declare function emptyLike( x: Complex64Array, dtype?: DataType ): Complex64Array; // tslint:disable-line:max-line-length
declare function emptyLike( x: Complex64Array, dtype?: DataType ): Complex64Array;

/**
* Creates an uninitialized array having the same length and data type as a provided input array.
Expand Down Expand Up @@ -709,7 +709,7 @@ declare function emptyLike( x: Uint8Array, dtype?: DataType ): Uint8Array;
* var arr = emptyLike( x );
* // returns <Uint8ClampedArray>
*/
declare function emptyLike( x: Uint8ClampedArray, dtype?: DataType ): Uint8ClampedArray; // tslint:disable-line:max-line-length
declare function emptyLike( x: Uint8ClampedArray, dtype?: DataType ): Uint8ClampedArray;

/**
* Creates an uninitialized array having the same length and data type as a provided input array.
Expand Down
Loading

0 comments on commit 79cef14

Please sign in to comment.