Skip to content

Commit c529d64

Browse files
committed
test: add matrix offset fixtures
--- 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 b2ce3b5 commit c529d64

4 files changed

Lines changed: 40 additions & 4 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"uplo": "lower",
3+
"trans": "no-transpose",
4+
"diag": "unit",
5+
"N": 3,
6+
"A": [ 999.0, 999.0, 999.0, 999.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 0.0, 0.0, 4.0, 4.0, 5.0, 5.0, 0.0, 0.0, 0.0, 0.0, 6.0, 6.0 ],
7+
"A_mat": [
8+
[ 1.0, 1.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, 2.0, 4.0, 4.0, 0.0, 0.0 ],
10+
[ 3.0, 3.0, 5.0, 5.0, 6.0, 6.0 ]
11+
],
12+
"strideA1": 1,
13+
"strideA2": 3,
14+
"offsetA": 2,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"x_out": [ 1.0, 1.0, 2.0, -2.0, -17.0, -3.0 ]
19+
}

lib/node_modules/@stdlib/blas/base/ctrsv/test/fixtures/column_major_ox.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"order": "column-major",
32
"uplo": "lower",
43
"trans": "no-transpose",
54
"diag": "non-unit",
@@ -10,7 +9,6 @@
109
[ 2.0, 2.0, 4.0, 4.0, 0.0, 0.0 ],
1110
[ 3.0, 3.0, 5.0, 5.0, 6.0, 6.0 ]
1211
],
13-
"LDA": 3,
1412
"strideA1": 1,
1513
"strideA2": 3,
1614
"offsetA": 0,
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"order": "row-major",
3+
"uplo": "lower",
4+
"trans": "no-transpose",
5+
"diag": "unit",
6+
"N": 3,
7+
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 2.0, 2.0, 4.0, 4.0, 0.0, 0.0, 3.0, 3.0, 5.0, 5.0, 6.0, 6.0 ],
8+
"A_mat": [
9+
[ 1.0, 1.0, 0.0, 0.0, 0.0, 0.0 ],
10+
[ 2.0, 2.0, 4.0, 4.0, 0.0, 0.0 ],
11+
[ 3.0, 3.0, 5.0, 5.0, 6.0, 6.0 ]
12+
],
13+
"LDA": 3,
14+
"strideA1": 3,
15+
"strideA2": 1,
16+
"offsetA": 4,
17+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
18+
"strideX": 1,
19+
"offsetX": 0,
20+
"x_out": [ 1.0, 1.0, 2.0, -2.0, -17.0, -3.0 ]
21+
}

lib/node_modules/@stdlib/blas/base/ctrsv/test/fixtures/row_major_ox.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"order": "row-major",
32
"uplo": "lower",
43
"trans": "no-transpose",
54
"diag": "unit",
@@ -10,7 +9,6 @@
109
[ 2.0, 2.0, 4.0, 4.0, 0.0, 0.0 ],
1110
[ 3.0, 3.0, 5.0, 5.0, 6.0, 6.0 ]
1211
],
13-
"LDA": 3,
1412
"strideA1": 3,
1513
"strideA2": 1,
1614
"offsetA": 0,

0 commit comments

Comments
 (0)