Skip to content

Commit da28542

Browse files
committed
docs: fix example code in TS declarations for blas/base namespace
--- 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: passed - task: lint_license_headers status: passed ---
1 parent 5b98eea commit da28542

File tree

1 file changed

+7
-7
lines changed
  • lib/node_modules/@stdlib/blas/base/docs/types

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ interface Namespace {
10151015
* var y = new Float64Array( [ 1.0, 2.0, 3.0 ] );
10161016
*
10171017
* ns.dsyr2( 'column-major', 'upper', 3, 1.0, x, 1, y, 1, A, 3 );
1018-
* // A => <Float64Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
1018+
* // A => <Float64Array>[ 3.0, 2.0, 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 19.0 ]
10191019
*
10201020
* @example
10211021
* var Float64Array = require( '@stdlib/array/float64' );
@@ -1025,7 +1025,7 @@ interface Namespace {
10251025
* var y = new Float64Array( [ 1.0, 2.0, 3.0 ] );
10261026
*
10271027
* ns.dsyr2.ndarray( 'upper', 3, 1.0, x, 1, 0, y, 1, 0, A, 1, 3, 0 );
1028-
* // A => <Float64Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
1028+
* // A => <Float64Array>[ 3.0, 2.0, 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 19.0 ]
10291029
*/
10301030
dsyr2: typeof dsyr2;
10311031

@@ -1316,7 +1316,7 @@ interface Namespace {
13161316
* var x = [ 1.0, 1.0 ];
13171317
* var y = [ 1.0, 1.0, 1.0 ];
13181318
*
1319-
* ns.gger( 'row-major', 2, 3, 1.0, x, 1, y, 1, A, 2 );
1319+
* ns.gger( 'row-major', 2, 3, 1.0, x, 1, y, 1, A, 3 );
13201320
* // A => [ 2.0, 5.0, 3.0, 6.0, 4.0, 7.0 ]
13211321
*
13221322
* @example
@@ -2155,7 +2155,7 @@ interface Namespace {
21552155
* var y = new Float32Array( [ 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ] );
21562156
*
21572157
* ns.srot( 3, x, 2, y, 2, 0.8, 0.6 );
2158-
* // x => <Float32Array>[ 5.0, 2.0, ~7.8, 4.0, ~10.6, 6.0 ]
2158+
* // x => <Float32Array>[ ~5.0, 2.0, ~7.8, 4.0, ~10.6, 6.0 ]
21592159
* // y => <Float32Array>[ 5.0, 8.0, ~5.4, 10.0, ~5.8, 12.0 ]
21602160
*
21612161
* @example
@@ -2450,7 +2450,7 @@ interface Namespace {
24502450
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
24512451
*
24522452
* ns.ssyr2( 'column-major', 'upper', 3, 1.0, x, 1, y, 1, A, 3 );
2453-
* // A => <Float32Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
2453+
* // A => <Float32Array>[ 3.0, 2.0, 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 19.0 ]
24542454
*
24552455
* @example
24562456
* var Float32Array = require( '@stdlib/array/float32' );
@@ -2460,7 +2460,7 @@ interface Namespace {
24602460
* var y = new Float32Array( [ 1.0, 2.0, 3.0 ] );
24612461
*
24622462
* ns.ssyr2.ndarray( 'upper', 3, 1.0, x, 1, 0, y, 1, 0, A, 1, 3, 0 );
2463-
* // A => <Float32Array>[ 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 3.0, 2.0, 19.0 ]
2463+
* // A => <Float32Array>[ 3.0, 2.0, 3.0, 6.0, 9.0, 2.0, 9.0, 14.0, 19.0 ]
24642464
*/
24652465
ssyr2: typeof ssyr2;
24662466

@@ -2764,7 +2764,7 @@ interface Namespace {
27642764
* var alpha = new Complex128( 2.0, 2.0 );
27652765
*
27662766
* ns.zscal.ndarray( 2, alpha, x, 1, 1 );
2767-
* // x => <Complex128Array>[ -2.0, 6.0, -2.0, 14.0, -2.0, 22.0 ]
2767+
* // x => <Complex128Array>[ 1.0, 2.0, -2.0, 14.0, -2.0, 22.0 ]
27682768
*/
27692769
zscal: typeof zscal;
27702770

0 commit comments

Comments
 (0)