Skip to content

Commit 82be305

Browse files
committed
docs: clean-up TSDoc examples
--- 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: na - task: lint_javascript_src status: na - 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: na - task: lint_license_headers status: passed ---
1 parent d910ae7 commit 82be305

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/blas/base/dasum/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ interface Routine {
7474
* var x = new Float64Array( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] );
7575
*
7676
* var z = dasum( x.length, x, 1 );
77-
* // returns 15.0
77+
* // returns 21.0
7878
*
7979
* @example
8080
* var Float64Array = require( '@stdlib/array/float64' );

lib/node_modules/@stdlib/blas/base/gasum/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ interface Routine {
5757
* @returns sum of absolute values
5858
*
5959
* @example
60-
* var y = [ 2.0, 6.0, -1.0, -4.0, 8.0 ];
60+
* var x = [ 2.0, 6.0, -1.0, -4.0, 8.0 ];
6161
*
6262
* var z = gasum.ndarray( x.length, x, 1, 0 );
6363
* // returns 21.0
@@ -77,7 +77,7 @@ interface Routine {
7777
* var x = [ 2.0, 6.0, -1.0, -4.0, 8.0 ];
7878
*
7979
* var z = gasum( x.length, x, 1 );
80-
* // returns 15.0
80+
* // returns 21.0
8181
*
8282
* @example
8383
* var x = [ 2.0, 6.0, -1.0, -4.0, 8.0 ];

lib/node_modules/@stdlib/blas/base/sasum/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ interface Routine {
7474
* var x = new Float32Array( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] );
7575
*
7676
* var z = sasum( x.length, x, 1 );
77-
* // returns 15.0
77+
* // returns 21.0
7878
*
7979
* @example
8080
* var Float32Array = require( '@stdlib/array/float32' );

lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ interface Routine {
9292
* var x = new Float64Array( [ 1.0, -2.0, NaN, 2.0 ] );
9393
* var out = new Float64Array( 2 );
9494
*
95-
* var v = dnannsumkbn( x.length, x, 1, 0, out, 1, 0 );
95+
* var v = dnannsumkbn.ndarray( x.length, x, 1, 0, out, 1, 0 );
9696
* // returns <Float64Array>[ 1.0, 3 ]
9797
*/
9898
declare var dnannsumkbn: Routine;

lib/node_modules/@stdlib/blas/ext/base/dsnannsumors/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ interface Routine {
9696
* var x = new Float32Array( [ 1.0, -2.0, NaN, 2.0 ] );
9797
* var out = new Float64Array( 2 );
9898
*
99-
* var v = dsnannsumors( x.length, x, 1, 0, out, 1, 0 );
99+
* var v = dsnannsumors.ndarray( x.length, x, 1, 0, out, 1, 0 );
100100
* // returns <Float64Array>[ 1.0, 3 ]
101101
*/
102102
declare var dsnannsumors: Routine;

lib/node_modules/@stdlib/blas/ext/base/gindex-of/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ interface Routine {
4545
* @returns index
4646
*
4747
* @example
48-
* var x = new [ 1.0, 2.0, 3.0, 4.0 ];
48+
* var x = [ 1.0, 2.0, 3.0, 4.0 ];
4949
*
5050
* var idx = gindexOf( x.length, 2.0, x, 1 );
5151
* // returns 1

lib/node_modules/@stdlib/blas/ext/base/ndarray/gsorthp/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import { typedndarray } from '@stdlib/types/ndarray';
4747
* var out = gsorthp( [ x, ord ] );
4848
* // returns <ndarray>
4949
*
50-
* var arr = ndarra2array( out );
50+
* var arr = ndarray2array( out );
5151
* // returns [ -4.0, -2.0, 1.0, 3.0 ]
5252
*/
5353
declare function gsorthp<T = unknown>( arrays: [ typedndarray<T>, typedndarray<number> ] ): typedndarray<T>;

lib/node_modules/@stdlib/stats/array/mskmax/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ type InputArray = NumericArray | Collection<number> | AccessorArrayLike<number>;
4141
* var v = mskmax( x, mask );
4242
* // returns 2.0
4343
*/
44-
declare function max( x: InputArray, mask: InputArray ): number;
44+
declare function mskmax( x: InputArray, mask: InputArray ): number;
4545

4646

4747
// EXPORTS //
4848

49-
export = max;
49+
export = mskmax;

0 commit comments

Comments
 (0)