Skip to content

Commit 7c5881e

Browse files
committed
docs: update dtype type
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 374beff commit 7c5881e

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

lib/node_modules/@stdlib/ndarray/base/unary-tiling-block-size/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
Parameters
66
----------
7-
dtypeX: string
7+
dtypeX: string|DataType
88
Input array data type.
99

10-
dtypeY: string
10+
dtypeY: string|DataType
1111
Output array data type.
1212

1313
Returns

lib/node_modules/@stdlib/ndarray/base/unary-tiling-block-size/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
// TypeScript Version: 4.1
2020

21+
/// <reference types="@stdlib/types"/>
22+
23+
import { DataType } from '@stdlib/types/ndarray';
24+
2125
/**
2226
* Returns a loop block size for multi-dimensional array tiled loops.
2327
*
@@ -29,7 +33,7 @@
2933
* var bsize = unaryBlockSize( 'float64', 'float64' );
3034
* // returns <number>
3135
*/
32-
declare function unaryBlockSize( dtypeX: string, dtypeY: string ): number;
36+
declare function unaryBlockSize( dtypeX: DataType, dtypeY: DataType ): number;
3337

3438

3539
// EXPORTS //

lib/node_modules/@stdlib/ndarray/base/unary-tiling-block-size/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ var defaults = require( './defaults.js' );
2929
/**
3030
* Returns a loop block size for multi-dimensional array tiled loops.
3131
*
32-
* @param {string} dtypeX - input array data type
33-
* @param {string} dtypeY - output array data type
32+
* @param {*} dtypeX - input array data type
33+
* @param {*} dtypeY - output array data type
3434
* @returns {integer} block size (in units of elements)
3535
*
3636
* @example

0 commit comments

Comments
 (0)