Skip to content

Commit 1e4ddb9

Browse files
Shabareesh ShettyShabareesh Shetty
authored andcommitted
test: restructure banded matrices
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 591f7c7 commit 1e4ddb9

24 files changed

+202
-82
lines changed

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_complex_access_pattern.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 999.0, 0.0, 999.0, 3.0, 999.0, 5.0, 999.0, 7.0, 999.0, 2.0, 999.0, 4.0, 999.0, 6.0, 999.0, 8.0, 999.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
1116
[ 3.0, 7.0, 0.0 ],
1217
[ 5.0, 2.0, 6.0 ],

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_nt.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 0.0, 3.0, 5.0, 7.0, 2.0, 4.0, 6.0, 8.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
1116
[ 3.0, 7.0, 0.0 ],
1217
[ 5.0, 2.0, 6.0 ],

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_oa.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 999.0, 999.0, 0.0, 3.0, 5.0, 7.0, 2.0, 4.0, 6.0, 8.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
1116
[ 3.0, 7.0, 0.0 ],
1217
[ 5.0, 2.0, 6.0 ],

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_sa1_sa2.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@
66
"KL": 1,
77
"KU": 1,
88
"alpha": 0.5,
9-
"A": [ 0.0, 999.0, 999.0, 1.0, 999.0, 3.0, 2.0, 999.0, 4.0, 999.0, 6.0, 5.0, 999.0, 7.0, 0.0 ],
9+
"A": [ 0.0, 999.0, 3.0, 999.0, 5.0, 999.0, 7.0, 999.0, 2.0, 999.0, 4.0, 999.0, 6.0, 999.0, 8.0, 999.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
11-
[ 1.0, 3.0, 0.0 ],
12-
[ 2.0, 4.0, 6.0 ],
13-
[ 0.0, 5.0, 7.0 ]
16+
[ 3.0, 7.0, 0.0 ],
17+
[ 5.0, 2.0, 6.0 ],
18+
[ 0.0, 4.0, 8.0 ]
1419
],
15-
"lda": 5,
16-
"strideA1": 3,
17-
"strideA2": 5,
20+
"lda": 6,
21+
"strideA1": 2,
22+
"strideA2": 6,
1823
"offsetA": 0,
1924
"x": [ 1.0, 2.0, 3.0 ],
2025
"strideX": 1,
@@ -23,5 +28,5 @@
2328
"y": [ 1.0, 2.0, 3.0 ],
2429
"strideY": 1,
2530
"offsetY": 0,
26-
"y_out": [ 4.0, 15.0, 17.0 ]
31+
"y_out": [ 9.0, 14.5, 17.5 ]
2732
}

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_sa1_sa2n.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,27 @@
66
"KL": 1,
77
"KU": 1,
88
"alpha": 0.5,
9-
"A": [ 0.0, 999.0, 999.0, 999.0, 999.0, 6.0, 999.0, 999.0, 7.0, 999.0, 3.0, 999.0, 999.0, 4.0, 999.0, 999.0, 5.0, 999.0, 1.0, 999.0, 999.0, 2.0, 0.0 ],
9+
"A": [ 6.0, 8.0, 0.0, 999.0, 999.0, 999.0, 7.0, 2.0, 4.0, 999.0, 999.0, 999.0, 0.0, 3.0, 5.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
11-
[ 1.0, 3.0, 0.0 ],
12-
[ 2.0, 4.0, 6.0 ],
13-
[ 0.0, 5.0, 7.0 ]
16+
[ 3.0, 7.0, 0.0 ],
17+
[ 5.0, 2.0, 6.0 ],
18+
[ 0.0, 4.0, 8.0 ]
1419
],
15-
"lda": 5,
16-
"strideA1": 3,
17-
"strideA2": -5,
18-
"offsetA": 15,
20+
"lda": 6,
21+
"strideA1": 1,
22+
"strideA2": -6,
23+
"offsetA": 12,
1924
"x": [ 1.0, 2.0, 3.0 ],
2025
"strideX": 1,
2126
"offsetX": 0,
2227
"beta": 0.5,
2328
"y": [ 1.0, 2.0, 3.0 ],
2429
"strideY": 1,
2530
"offsetY": 0,
26-
"y_out": [ 4.0, 15.0, 17.0 ]
31+
"y_out": [ 9.0, 14.5, 17.5 ]
2732
}

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_sa1n_sa2.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,27 @@
66
"KL": 1,
77
"KU": 1,
88
"alpha": 0.5,
9-
"A": [ 0.0, 999.0, 999.0, 2.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 5.0, 999.0, 999.0, 4.0, 999.0, 999.0, 3.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 7.0, 999.0, 999.0, 6.0, 999.0, 0.0 ],
9+
"A": [ 5.0, 3.0, 0.0, 999.0, 999.0, 999.0, 4.0, 2.0, 7.0, 999.0, 999.0, 999.0, 0.0, 8.0, 6.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
11-
[ 1.0, 3.0, 0.0 ],
12-
[ 2.0, 4.0, 6.0 ],
13-
[ 0.0, 5.0, 7.0 ]
16+
[ 3.0, 7.0, 0.0 ],
17+
[ 5.0, 2.0, 6.0 ],
18+
[ 0.0, 4.0, 8.0 ]
1419
],
15-
"lda": 10,
16-
"strideA1": -3,
17-
"strideA2": 10,
18-
"offsetA": 9,
20+
"lda": 6,
21+
"strideA1": -1,
22+
"strideA2": 6,
23+
"offsetA": 2,
1924
"x": [ 1.0, 2.0, 3.0 ],
2025
"strideX": 1,
2126
"offsetX": 0,
2227
"beta": 0.5,
2328
"y": [ 1.0, 2.0, 3.0 ],
2429
"strideY": 1,
2530
"offsetY": 0,
26-
"y_out": [ 4.0, 15.0, 17.0 ]
31+
"y_out": [ 9.0, 14.5, 17.5 ]
2732
}

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_sa1n_sa2n.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,27 @@
66
"KL": 1,
77
"KU": 1,
88
"alpha": 0.5,
9-
"A": [ 0.0, 999.0, 999.0, 999.0, 999.0, 999.0, 7.0, 999.0, 5.0, 6.0, 999.0, 4.0, 999.0, 2.0, 3.0, 999.0, 1.0, 999.0, 999.0, 999.0, 0.0 ],
9+
"A": [ 0.0, 8.0, 6.0, 4.0, 2.0, 7.0, 5.0, 3.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
11-
[ 1.0, 3.0, 0.0 ],
12-
[ 2.0, 4.0, 6.0 ],
13-
[ 0.0, 5.0, 7.0 ]
16+
[ 3.0, 7.0, 0.0 ],
17+
[ 5.0, 2.0, 6.0 ],
18+
[ 0.0, 4.0, 8.0 ]
1419
],
15-
"lda": 5,
16-
"strideA1": -3,
17-
"strideA2": -5,
18-
"offsetA": 19,
20+
"lda": 3,
21+
"strideA1": -1,
22+
"strideA2": -3,
23+
"offsetA": 8,
1924
"x": [ 1.0, 2.0, 3.0 ],
2025
"strideX": 1,
2126
"offsetX": 0,
2227
"beta": 0.5,
2328
"y": [ 1.0, 2.0, 3.0 ],
2429
"strideY": 1,
2530
"offsetY": 0,
26-
"y_out": [ 4.0, 15.0, 17.0 ]
31+
"y_out": [ 9.0, 14.5, 17.5 ]
2732
}

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_t.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
11-
[ 1.0, 3.0, 0.0 ],
12-
[ 2.0, 4.0, 6.0 ],
13-
[ 0.0, 5.0, 7.0 ]
16+
[ 3.0, 7.0, 0.0 ],
17+
[ 5.0, 2.0, 6.0 ],
18+
[ 0.0, 4.0, 8.0 ]
1419
],
1520
"lda": 3,
1621
"strideA1": 1,

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_xnyn.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 0.0, 3.0, 5.0, 7.0, 2.0, 4.0, 6.0, 8.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
1116
[ 3.0, 7.0, 0.0 ],
1217
[ 5.0, 2.0, 6.0 ],

lib/node_modules/@stdlib/blas/base/dgbmv/test/fixtures/column_major_xnyp.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"KU": 1,
88
"alpha": 0.5,
99
"A": [ 0.0, 3.0, 5.0, 7.0, 2.0, 4.0, 6.0, 8.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 7.0, 6.0 ],
12+
[ 3.0, 2.0, 8.0 ],
13+
[ 5.0, 4.0, 0.0 ]
14+
],
1015
"A_mat": [
1116
[ 3.0, 7.0, 0.0 ],
1217
[ 5.0, 2.0, 6.0 ],

0 commit comments

Comments
 (0)