Skip to content

Commit 16d29d0

Browse files
committed
test: 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 1260637 commit 16d29d0

34 files changed

Lines changed: 3150 additions & 0 deletions
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"name": "@stdlib/blas/base/zhemv",
3+
"version": "0.0.0",
4+
"description": "Performs the matrix-vector operation `y = α*A*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+
"zhemv",
60+
"hermitian",
61+
"linear",
62+
"algebra",
63+
"subroutines",
64+
"array",
65+
"ndarray",
66+
"complex",
67+
"complex128",
68+
"complex128array",
69+
"float",
70+
"float64",
71+
"double",
72+
"float64array"
73+
]
74+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.0, 0.0 ],
6+
"A": [ 1.0, 0.0, 2.0, -2.0, 3.0, -3.0, 0.0, 0.0, 4.0, 0.0, 5.0, -5.0, 0.0, 0.0, 0.0, 0.0, 6.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"lda": 3,
13+
"strideA1": 1,
14+
"strideA2": 3,
15+
"offsetA": 0,
16+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
17+
"strideX": 1,
18+
"offsetX": 0,
19+
"beta": [ 0.5, -0.5 ],
20+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
21+
"strideY": 1,
22+
"offsetY": 0,
23+
"y_out": [ 3.0, 0.0, 2.0, 0.0, 1.0, 0.0 ]
24+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 999.0, 999.0, 999.0, 999.0, 6.0, 0.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, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.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, 999.0, 999.0, 999.0, 999.0, 4.0, 0.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, 999.0, 999.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, 999.0, 999.0, 2.0, -2.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 1.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": -5,
13+
"strideA2": -15,
14+
"offsetA": 42,
15+
"x": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
16+
"strideX": -1,
17+
"offsetX": 2,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
20+
"strideY": -1,
21+
"offsetY": 2,
22+
"y_out": [ 14.0, 31.0, -11.0, 25.0, -10.0, 14.0 ]
23+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 1.0, 0.0, 2.0, -2.0, 3.0, -3.0, 0.0, 0.0, 4.0, 0.0, 5.0, -5.0, 0.0, 0.0, 0.0, 0.0, 6.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"lda": 3,
13+
"strideA1": 1,
14+
"strideA2": 3,
15+
"offsetA": 0,
16+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
17+
"strideX": 1,
18+
"offsetX": 0,
19+
"beta": [ 0.5, -0.5 ],
20+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
21+
"strideY": 1,
22+
"offsetY": 0,
23+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
24+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 1.0, 0.0, 2.0, -2.0, 3.0, -3.0, 0.0, 0.0, 4.0, 0.0, 5.0, -5.0, 0.0, 0.0, 0.0, 0.0, 6.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": 1,
13+
"strideA2": 3,
14+
"offsetA": 10,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
20+
"strideY": 1,
21+
"offsetY": 0,
22+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 1.0, 0.0, 999.0, 999.0, 2.0, -2.0, 999.0, 999.0, 3.0, -3.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, 4.0, 0.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, 0.0, 0.0, 999.0, 999.0, 6.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": 2,
13+
"strideA2": 9,
14+
"offsetA": 0,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
20+
"strideY": 1,
21+
"offsetY": 0,
22+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 0.0, 0.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 6.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 4.0, 0.0, 999.0, 999.0, 5.0, -5.0, 999.0, 999.0, 999.0, 999.0, 1.0, 0.0, 999.0, 999.0, 2.0, -2.0, 999.0, 999.0, 3.0, -3.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": 2,
13+
"strideA2": -7,
14+
"offsetA": 14,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
20+
"strideY": 1,
21+
"offsetY": 0,
22+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 3.0, -3.0, 999.0, 999.0, 999.0, 999.0, 2.0, -2.0, 999.0, 999.0, 999.0, 999.0, 1.0, 0.0, 999.0, 999.0, 999.0, 999.0, 5.0, -5.0, 999.0, 999.0, 999.0, 999.0, 4.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 999.0, 999.0, 6.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": -3,
13+
"strideA2": 9,
14+
"offsetA": 6,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
20+
"strideY": 1,
21+
"offsetY": 0,
22+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "lower",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 6.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 5.0, -5.0, 999.0, 999.0, 999.0, 999.0, 4.0, 0.0, 999.0, 999.0, 999.0, 999.0, 0.0, 0.0, 3.0, -3.0, 999.0, 999.0, 999.0, 999.0, 2.0, -2.0, 999.0, 999.0, 999.0, 999.0, 1.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 ],
9+
[ 2.0, -2.0, 4.0, 0.0, 0.0, 0.0 ],
10+
[ 3.0, -3.0, 5.0, -5.0, 6.0, 0.0 ]
11+
],
12+
"strideA1": -3,
13+
"strideA2": -7,
14+
"offsetA": 20,
15+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
16+
"strideX": 1,
17+
"offsetX": 0,
18+
"beta": [ 0.5, -0.5 ],
19+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
20+
"strideY": 1,
21+
"offsetY": 0,
22+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
23+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"order": "column-major",
3+
"uplo": "upper",
4+
"N": 3,
5+
"alpha": [ 0.5, 0.5 ],
6+
"A": [ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.0, 2.0, 4.0, 0.0, 0.0, 0.0, 3.0, 3.0, 5.0, 5.0, 6.0, 0.0 ],
7+
"A_mat": [
8+
[ 1.0, 0.0, 2.0, 2.0, 3.0, 3.0 ],
9+
[ 0.0, 0.0, 4.0, 0.0, 5.0, 5.0 ],
10+
[ 0.0, 0.0, 0.0, 0.0, 6.0, 0.0 ]
11+
],
12+
"lda": 3,
13+
"strideA1": 1,
14+
"strideA2": 3,
15+
"offsetA": 0,
16+
"x": [ 1.0, 1.0, 2.0, 2.0, 3.0, 3.0 ],
17+
"strideX": 1,
18+
"offsetX": 0,
19+
"beta": [ 0.5, -0.5 ],
20+
"y": [ 3.0, 3.0, 2.0, 2.0, 1.0, 1.0 ],
21+
"strideY": 1,
22+
"offsetY": 0,
23+
"y_out": [ -10.0, 14.0, -11.0, 25.0, 14.0, 31.0 ]
24+
}

0 commit comments

Comments
 (0)