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 Sep 19, 2023
1 parent eac4870 commit 51406ec
Show file tree
Hide file tree
Showing 7 changed files with 2,067 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ctor/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/// <reference types="@stdlib/types"/>

import { ArrayLike } from '@stdlib/types/array';
import { Collection } from '@stdlib/types/array';
import { ndarray, DataType, Mode, Order, Shape, Strides } from '@stdlib/types/ndarray';
import { Buffer } from 'buffer';

Expand Down Expand Up @@ -81,7 +81,7 @@ interface Constructor {
*
* var out = new ndarray( 'generic', buffer, shape, strides, offset, 'row-major' );
*/
new( dtype: DataType, buffer: ArrayLike<any> | Buffer, shape: Shape, strides: Strides, offset: number, order: Order, options?: Options ): ndarray; // tslint-disable-line max-line-length
new ( dtype: DataType, buffer: Collection | Buffer, shape: Shape, strides: Strides, offset: number, order: Order, options?: Options ): ndarray;

/**
* ndarray constructor.
Expand Down Expand Up @@ -116,7 +116,7 @@ interface Constructor {
*
* var out = ndarray( 'generic', buffer, shape, strides, offset, 'row-major' );
*/
( dtype: DataType, buffer: ArrayLike<any> | Buffer, shape: Shape, strides: Strides, offset: number, order: Order, options?: Options ): ndarray; // tslint-disable-line max-line-length
( dtype: DataType, buffer: Collection | Buffer, shape: Shape, strides: Strides, offset: number, order: Order, options?: Options ): ndarray;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion fancy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var FancyArray = require( '@stdlib/ndarray/fancy' );

<a name="main"></a>

#### new FancyArray( dtype, buffer, shape, strides, offset, order\[, options] )
#### FancyArray( dtype, buffer, shape, strides, offset, order\[, options] )

Returns a `FancyArray` instance.

Expand Down
Loading

0 comments on commit 51406ec

Please sign in to comment.