Skip to content

Commit 94fc7c5

Browse files
committed
feat: add test suite
--- 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: passed - 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: passed - 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 fdff657 commit 94fc7c5

34 files changed

Lines changed: 3730 additions & 0 deletions
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"name": "@stdlib/blas/base/zgbmv",
3+
"version": "0.0.0",
4+
"description": "Performs one of the matrix-vector operations `y = α*A*x + β*y` or `y = α*A^T*x + β*y` or `y = α*A^H*x + β*y`",
5+
"license": "Apache-2.0",
6+
"author": {
7+
"name": "The Stdlib Authors",
8+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9+
},
10+
"contributors": [
11+
{
12+
"name": "The Stdlib Authors",
13+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14+
}
15+
],
16+
"main": "./lib",
17+
"browser": "./lib/main.js",
18+
"directories": {
19+
"benchmark": "./benchmark",
20+
"doc": "./docs",
21+
"example": "./examples",
22+
"lib": "./lib",
23+
"test": "./test"
24+
},
25+
"types": "./docs/types",
26+
"scripts": {},
27+
"homepage": "https://github.com/stdlib-js/stdlib",
28+
"repository": {
29+
"type": "git",
30+
"url": "git://github.com/stdlib-js/stdlib.git"
31+
},
32+
"bugs": {
33+
"url": "https://github.com/stdlib-js/stdlib/issues"
34+
},
35+
"dependencies": {},
36+
"devDependencies": {},
37+
"engines": {
38+
"node": ">=0.10.0",
39+
"npm": ">2.7.0"
40+
},
41+
"os": [
42+
"aix",
43+
"darwin",
44+
"freebsd",
45+
"linux",
46+
"macos",
47+
"openbsd",
48+
"sunos",
49+
"win32",
50+
"windows"
51+
],
52+
"keywords": [
53+
"stdlib",
54+
"stdmath",
55+
"mathematics",
56+
"math",
57+
"blas",
58+
"level 2",
59+
"zgemv",
60+
"linear",
61+
"algebra",
62+
"subroutines",
63+
"array",
64+
"ndarray",
65+
"complex",
66+
"complex128",
67+
"complex128array"
68+
]
69+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"order": "column-major",
3+
"trans": "no-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": [ 0.0, 0.0 ],
9+
"A": [ 0.0, 0.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 0.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
12+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
13+
[ 2.0, 2.0, 5.0, 5.0, 0.0, 0.0 ]
14+
],
15+
"A_mat": [
16+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
17+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
18+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ]
19+
],
20+
"lda": 3,
21+
"strideA1": 1,
22+
"strideA2": 3,
23+
"offsetA": 0,
24+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
25+
"strideX": 1,
26+
"offsetX": 0,
27+
"beta": [ 0.5, -0.5 ],
28+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
29+
"strideY": 1,
30+
"offsetY": 0,
31+
"y_out": [ 3.0, 0.0, 2.0, 0.0, 1.0, 0.0 ]
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 4,
4+
"N": 5,
5+
"KL": 1,
6+
"KU": 2,
7+
"alpha": [ 0.5, 0.5 ],
8+
"A": [ 0.0, 0.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 14.0, 14.0, 999.0, 999.0, 13.0, 13.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 12.0, 12.0, 999.0, 999.0, 11.0, 11.0, 999.0, 999.0, 10.0, 10.0, 999.0, 999.0, 9.0, 9.0, 999.0, 999.0, 8.0, 8.0, 999.0, 999.0, 7.0, 7.0, 999.0, 999.0, 6.0, 6.0, 999.0, 999.0, 5.0, 5.0, 999.0, 999.0, 4.0, 4.0, 999.0, 999.0, 3.0, 3.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 2.0, 2.0, 999.0, 999.0, 1.0, 1.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 0.0, 0.0 ],
9+
"A_compact": [
10+
[ 0.0, 0.0, 0.0, 0.0, 6.0, 6.0, 10.0, 10.0, 13.0, 13.0 ],
11+
[ 0.0, 0.0, 3.0, 3.0, 7.0, 7.0, 11.0, 11.0, 14.0, 14.0 ],
12+
[ 1.0, 1.0, 4.0, 4.0, 8.0, 8.0, 12.0, 12.0, 0.0, 0.0 ],
13+
[ 2.0, 2.0, 5.0, 5.0, 9.0, 9.0, 0.0, 0.0, 0.0, 0.0 ]
14+
],
15+
"A_mat": [
16+
[ 1.0, 1.0, 3.0, 3.0, 6.0, 6.0, 0.0, 0.0, 0.0, 0.0 ],
17+
[ 2.0, 2.0, 4.0, 4.0, 7.0, 7.0, 10.0, 10.0, 0.0, 0.0 ],
18+
[ 0.0, 0.0, 5.0, 5.0, 8.0, 8.0, 11.0, 11.0, 13.0, 13.0 ],
19+
[ 0.0, 0.0, 0.0, 0.0, 9.0, 9.0, 12.0, 12.0, 14.0, 14.0 ]
20+
],
21+
"strideA1": -2,
22+
"strideA2": -8,
23+
"offsetA": 38,
24+
"x": [ 5.0, 5.0, 4.0, 4.0, 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
25+
"strideX": -1,
26+
"offsetX": 4,
27+
"beta": [ 0.5, -0.5 ],
28+
"y": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0 ],
29+
"strideY": -1,
30+
"offsetY": 3,
31+
"y_out": [ -144.0, 145.0, -141.0, 143.0, -68.0, 71.0, -21.0, 25.0 ]
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"order": "column-major",
3+
"trans": "conjugate-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": [ 0.5, 0.5 ],
9+
"A": [ 0.0, 0.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 0.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
12+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
13+
[ 2.0, 2.0, 5.0, 5.0, 0.0, 0.0 ]
14+
],
15+
"A_mat": [
16+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
17+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
18+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ]
19+
],
20+
"lda": 3,
21+
"strideA1": 1,
22+
"strideA2": 3,
23+
"offsetA": 0,
24+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
25+
"strideX": 1,
26+
"offsetX": 0,
27+
"beta": [ 0.5, -0.5 ],
28+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
29+
"strideY": 1,
30+
"offsetY": 0,
31+
"y_out": [ 8.0, 5.0, 28.0, 26.0, 34.0, 33.0 ]
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"order": "column-major",
3+
"trans": "no-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": [ 0.5, 0.5 ],
9+
"A": [ 0.0, 0.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 0.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
12+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
13+
[ 2.0, 2.0, 5.0, 5.0, 0.0, 0.0 ]
14+
],
15+
"A_mat": [
16+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
17+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
18+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ]
19+
],
20+
"lda": 3,
21+
"strideA1": 1,
22+
"strideA2": 3,
23+
"offsetA": 0,
24+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
25+
"strideX": 1,
26+
"offsetX": 0,
27+
"beta": [ 0.5, -0.5 ],
28+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
29+
"strideY": 1,
30+
"offsetY": 0,
31+
"y_out": [ -4.0, 7.0, -26.0, 28.0, -30.0, 31.0 ]
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"order": "column-major",
3+
"trans": "no-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": [ 0.5, 0.5 ],
9+
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 1.0, 1.0, 2.0, 2.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0, 6.0, 7.0, 7.0, 0.0, 0.0 ],
10+
"A_compact": [
11+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
12+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
13+
[ 2.0, 2.0, 5.0, 5.0, 0.0, 0.0 ]
14+
],
15+
"A_mat": [
16+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
17+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
18+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ]
19+
],
20+
"lda": 3,
21+
"strideA1": 1,
22+
"strideA2": 3,
23+
"offsetA": 4,
24+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
25+
"strideX": 1,
26+
"offsetX": 0,
27+
"beta": [ 0.5, -0.5 ],
28+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
29+
"strideY": 1,
30+
"offsetY": 0,
31+
"y_out": [ -4.0, 7.0, -26.0, 28.0, -30.0, 31.0 ]
32+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 4,
4+
"N": 3,
5+
"KL": 1,
6+
"KU": 1,
7+
"alpha": [ 0.5, 0.5 ],
8+
"A": [ 0.0, 0.0, 999.0, 999.0, 999.0, 999.0, 1.0, 1.0, 999.0, 999.0, 999.0, 999.0, 2.0, 2.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 3.0, 3.0, 999.0, 999.0, 999.0, 999.0, 4.0, 4.0, 999.0, 999.0, 999.0, 999.0, 5.0, 5.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 6.0, 6.0, 999.0, 999.0, 999.0, 999.0, 7.0, 7.0, 999.0, 999.0, 999.0, 999.0, 8.0, 8.0 ],
9+
"A_compact": [
10+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
11+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
12+
[ 2.0, 2.0, 5.0, 5.0, 8.0, 8.0 ]
13+
],
14+
"A_mat": [
15+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
16+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
17+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ],
18+
[ 0.0, 0.0, 0.0, 0.0, 8.0, 8.0 ]
19+
],
20+
"strideA1": 3,
21+
"strideA2": 10,
22+
"offsetA": 0,
23+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
24+
"strideX": 1,
25+
"offsetX": 0,
26+
"beta": [ 0.5, -0.5 ],
27+
"y": [ 4.0, 4.0, 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
28+
"strideY": 1,
29+
"offsetY": 0,
30+
"y_out": [ -3.0, 7.0, -25.0, 28.0, -29, 31.0, -23.0, 24.0 ]
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 4,
4+
"N": 3,
5+
"KL": 1,
6+
"KU": 1,
7+
"alpha": [ 0.5, 0.5 ],
8+
"A": [ 6.0, 6.0, 999.0, 999.0, 7.0, 7.0, 999.0, 999.0, 8.0, 8.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 3.0, 3.0, 999.0, 999.0, 4.0, 4.0, 999.0, 999.0, 5.0, 5.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 1.0, 1.0, 999.0, 999.0, 2.0, 2.0 ],
9+
"A_compact": [
10+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
11+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
12+
[ 2.0, 2.0, 5.0, 5.0, 8.0, 8.0 ]
13+
],
14+
"A_mat": [
15+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
16+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
17+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ],
18+
[ 0.0, 0.0, 0.0, 0.0, 8.0, 8.0 ]
19+
],
20+
"strideA1": 2,
21+
"strideA2": -9,
22+
"offsetA": 18,
23+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
24+
"strideX": 1,
25+
"offsetX": 0,
26+
"beta": [ 0.5, -0.5 ],
27+
"y": [ 4.0, 4.0, 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
28+
"strideY": 1,
29+
"offsetY": 0,
30+
"y_out": [ -3.0, 7.0, -25.0, 28.0, -29, 31.0, -23.0, 24.0 ]
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 4,
4+
"N": 3,
5+
"KL": 1,
6+
"KU": 1,
7+
"alpha": [ 0.5, 0.5 ],
8+
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 6.0, 6.0, 999.0, 999.0, 7.0, 7.0, 999.0, 999.0, 8.0, 8.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 3.0, 3.0, 999.0, 999.0, 4.0, 4.0, 999.0, 999.0, 5.0, 5.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 1.0, 1.0, 999.0, 999.0, 2.0, 2.0 ],
9+
"A_compact": [
10+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
11+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
12+
[ 2.0, 2.0, 5.0, 5.0, 8.0, 8.0 ]
13+
],
14+
"A_mat": [
15+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
16+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
17+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ],
18+
[ 0.0, 0.0, 0.0, 0.0, 8.0, 8.0 ]
19+
],
20+
"strideA1": 2,
21+
"strideA2": -8,
22+
"offsetA": 20,
23+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
24+
"strideX": 1,
25+
"offsetX": 0,
26+
"beta": [ 0.5, -0.5 ],
27+
"y": [ 4.0, 4.0, 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
28+
"strideY": 1,
29+
"offsetY": 0,
30+
"y_out": [ -3.0, 7.0, -25.0, 28.0, -29, 31.0, -23.0, 24.0 ]
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 4,
4+
"N": 3,
5+
"KL": 1,
6+
"KU": 1,
7+
"alpha": [ 0.5, 0.5 ],
8+
"A": [ 8.0, 8.0, 999.0, 999.0, 999.0, 999.0, 7.0, 7.0, 999.0, 999.0, 999.0, 999.0, 6.0, 6.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 5.0, 5.0, 999.0, 999.0, 999.0, 999.0, 4.0, 4.0, 999.0, 999.0, 999.0, 999.0, 3.0, 3.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 2.0, 2.0, 999.0, 999.0, 999.0, 999.0, 1.0, 1.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0 ],
9+
"A_compact": [
10+
[ 0.0, 0.0, 3.0, 3.0, 6.0, 6.0 ],
11+
[ 1.0, 1.0, 4.0, 4.0, 7.0, 7.0 ],
12+
[ 2.0, 2.0, 5.0, 5.0, 8.0, 8.0 ]
13+
],
14+
"A_mat": [
15+
[ 1.0, 1.0, 3.0, 3.0, 0.0, 0.0 ],
16+
[ 2.0, 2.0, 4.0, 4.0, 6.0, 6.0 ],
17+
[ 0.0, 0.0, 5.0, 5.0, 7.0, 7.0 ],
18+
[ 0.0, 0.0, 0.0, 0.0, 8.0, 8.0 ]
19+
],
20+
"strideA1": -3,
21+
"strideA2": -10,
22+
"offsetA": 26,
23+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
24+
"strideX": 1,
25+
"offsetX": 0,
26+
"beta": [ 0.5, -0.5 ],
27+
"y": [ 4.0, 4.0, 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
28+
"strideY": 1,
29+
"offsetY": 0,
30+
"y_out": [ -3.0, 7.0, -25.0, 28.0, -29, 31.0, -23.0, 24.0 ]
31+
}

0 commit comments

Comments
 (0)