Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/ndarray/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2909,14 +2909,14 @@ interface Namespace {
* @returns zero-filled array
*
* @example
* var arr = ns.zeros( 'float32', [ 2, 2 ], 'row-major' );
* var arr = ns.zeros( 'float64', [ 2, 2 ], 'row-major' );
* // returns <ndarray>
*
* var sh = arr.shape;
* // returns [ 2, 2 ]
*
* var dt = arr.dtype;
* // returns 'float32'
* // returns 'float64'
*/
zeros: typeof zeros;

Expand Down
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,8 @@ interface Namespace {
*
* - If a `dtype` option is not provided and `value`
*
* - is a `number`, the default data type is the default real-valued floating-point data type.
* - is a number, the default data type is the default real-valued floating-point data type.
* - is a boolean, the default data type is the default boolean data type.
* - is a complex number object of a known complex data type, the data type is the same as the provided value.
* - is a complex number object of an unknown complex data type, the default data type is the default complex-valued floating-point data type.
* - is any other value type, the default data type is `'generic'`.
Expand Down
Loading