Skip to content

Commit 0bc0123

Browse files
committed
feat: add CBLAS_ORIENT type definition
--- 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 cdc7b67 commit 0bc0123

File tree

2 files changed

+49
-36
lines changed

2 files changed

+49
-36
lines changed

lib/node_modules/@stdlib/blas/base/shared/include/stdlib/blas/base/shared/cblas.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "stdlib/blas/base/layouts.h"
2424
#include "stdlib/blas/base/matrix_triangles.h"
2525
#include "stdlib/blas/base/operation_sides.h"
26+
#include "stdlib/blas/base/orientations.h"
2627
#include "stdlib/blas/base/transpose_operations.h"
2728
#include <stddef.h>
2829
#include <stdint.h>
@@ -125,6 +126,17 @@ typedef enum CBLAS_SIDE {
125126
} CBLAS_SIDE;
126127
#endif
127128

129+
// Matrix orientation:
130+
#ifndef CBLAS_ORIENT
131+
typedef enum CBLAS_ORIENT {
132+
// Row matrix:
133+
CblasRows = STDLIB_BLAS_ROW_MATRIX,
134+
135+
// Column matrix:
136+
CblasCols = STDLIB_BLAS_COLUMN_MATRIX,
137+
} CBLAS_ORIENT;
138+
#endif
139+
128140
// Alias `CBLAS_LAYOUT` for backward compatibility:
129141
#ifndef CBLAS_ORDER
130142
#define CBLAS_ORDER CBLAS_LAYOUT
Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,45 @@
11
{
2-
"options": {},
3-
"fields": [
4-
{
5-
"field": "src",
6-
"resolve": true,
7-
"relative": true
8-
},
9-
{
10-
"field": "include",
11-
"resolve": true,
12-
"relative": true
13-
},
14-
{
15-
"field": "libraries",
16-
"resolve": false,
17-
"relative": false
18-
},
19-
{
20-
"field": "libpath",
21-
"resolve": true,
22-
"relative": false
23-
}
24-
],
25-
"confs": [
26-
{
27-
"src": [
28-
"./src/main.c"
29-
],
30-
"include": [
31-
"./include"
32-
],
33-
"libraries": [],
34-
"libpath": [],
35-
"dependencies": [
2+
"options": {},
3+
"fields": [
4+
{
5+
"field": "src",
6+
"resolve": true,
7+
"relative": true
8+
},
9+
{
10+
"field": "include",
11+
"resolve": true,
12+
"relative": true
13+
},
14+
{
15+
"field": "libraries",
16+
"resolve": false,
17+
"relative": false
18+
},
19+
{
20+
"field": "libpath",
21+
"resolve": true,
22+
"relative": false
23+
}
24+
],
25+
"confs": [
26+
{
27+
"src": [
28+
"./src/main.c"
29+
],
30+
"include": [
31+
"./include"
32+
],
33+
"libraries": [],
34+
"libpath": [],
35+
"dependencies": [
3636
"@stdlib/blas/base/diagonal-types",
3737
"@stdlib/blas/base/layouts",
3838
"@stdlib/blas/base/matrix-triangles",
3939
"@stdlib/blas/base/operation-sides",
40+
"@stdlib/blas/base/orientations",
4041
"@stdlib/blas/base/transpose-operations"
4142
]
42-
}
43-
]
43+
}
44+
]
4445
}

0 commit comments

Comments
 (0)