Skip to content

Commit 59b0f32

Browse files
committed
chore: clean-up
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 303db0b commit 59b0f32

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

lib/node_modules/@stdlib/blas/base/dger/docs/repl.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
> {{alias}}( ord, 2, 2, 1.0, x, -1, y, -1, A, 2 )
6565
<Float64Array>[ 2.0, 3.0, 4.0, 5.0 ]
6666

67+
// Using typed array views:
68+
> var x0 = new {{alias:@stdlib/array/float64}}( [ 0.0, 1.0, 1.0 ] );
69+
> var y0 = new {{alias:@stdlib/array/float64}}( [ 0.0, 1.0, 1.0 ] );
70+
> A = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
71+
> var x1 = new {{alias:@stdlib/array/float64}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
72+
> var y1 = new {{alias:@stdlib/array/float64}}( y0.buffer, y0.BYTES_PER_ELEMENT*1 );
73+
> {{alias}}( ord, 2, 2, 1.0, x1, -1, y1, -1, A, 2 )
74+
<Float64Array>[ 2.0, 3.0, 4.0, 5.0 ]
75+
6776

6877
{{alias}}.ndarray( M, N, α, x, sx, ox, y, sy, oy, A, sa1, sa2, oa )
6978
Performs the rank 1 operation `A = α*x*y^T + A`, using alternative indexing

lib/node_modules/@stdlib/blas/base/dger/lib/dger.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
3131
// MAIN //
3232

3333
/**
34-
* Performs the rank 1 operation `A = alpha*x*y^T + A`, where `α` is a scalar, `x` is an `M` element vector, `y` is an `N` element vector, and `A` is an `M` by `N` matrix.
34+
* Performs the rank 1 operation `A = α*x*y^T + A`, where `α` is a scalar, `x` is an `M` element vector, `y` is an `N` element vector, and `A` is an `M` by `N` matrix.
3535
*
3636
* @param {*} order - storage layout
3737
* @param {NonNegativeInteger} M - number of rows in the matrix `A`

lib/node_modules/@stdlib/blas/base/dger/lib/ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var addon = require( './../src/addon.node' );
2727
// MAIN //
2828

2929
/**
30-
* Performs the rank 1 operation `A = alpha*x*y^T + A`, where `α` is a scalar, `x` is an `M` element vector, `y` is an `N` element vector, and `A` is an `M` by `N` matrix.
30+
* Performs the rank 1 operation `A = α*x*y^T + A`, where `α` is a scalar, `x` is an `M` element vector, `y` is an `N` element vector, and `A` is an `M` by `N` matrix.
3131
*
3232
* @param {NonNegativeInteger} M - number of rows in the matrix `A`
3333
* @param {NonNegativeInteger} N - number of columns in the matrix `A`

lib/node_modules/@stdlib/blas/base/dger/test/fixtures/column_major.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"x": [ 1.0, 1.0 ],
77
"strideX": 1,
88
"offsetX": 0,
9-
"y": [ 1.0, 1.0, 1.0 ],
9+
"y": [ 0.0, 0.0, 0.0 ],
1010
"strideY": 1,
1111
"offsetY": 0,
1212
"A": [ 1.0, 4.0, 2.0, 5.0, 3.0, 6.0 ],
@@ -18,5 +18,5 @@
1818
"strideA1": 1,
1919
"strideA2": 2,
2020
"offsetA": 0,
21-
"A_out": [ 2.0, 5.0, 3.0, 6.0, 4.0, 7.0 ]
21+
"A_out": [ 1.0, 4.0, 2.0, 5.0, 3.0, 6.0 ]
2222
}

0 commit comments

Comments
 (0)