Skip to content

Commit 8817068

Browse files
committed
chore: add generated files for abs
--- 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: passed - 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: passed - 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 6fd26dc commit 8817068

File tree

5 files changed

+465
-0
lines changed

5 files changed

+465
-0
lines changed
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/* This is a generated file. Do not edit directly. */
20+
21+
/* eslint-disable stdlib/capitalized-comments */
22+
23+
'use strict';
24+
25+
// MODULES //
26+
27+
var abs = require( '@stdlib/math/base/special/abs' );
28+
var absf = require( '@stdlib/math/base/special/absf' );
29+
var labs = require( '@stdlib/math/base/special/labs' );
30+
var identityUint32 = require( '@stdlib/number/uint32/base/identity' );
31+
var identityUint16 = require( '@stdlib/number/uint16/base/identity' );
32+
var identityUint8 = require( '@stdlib/number/uint8/base/identity' );
33+
34+
35+
// MAIN //
36+
37+
var data = [
38+
// NOTE: the following **must** match the order in `./types.js`. The order should be according to likelihood of use (e.g., if `float64` arrays are more likely, then `float64` types/data should come before `uint8`).
39+
40+
// float32
41+
abs,
42+
absf,
43+
absf,
44+
45+
// float64
46+
abs,
47+
abs,
48+
abs,
49+
50+
// int16
51+
abs,
52+
absf,
53+
labs,
54+
labs,
55+
labs,
56+
57+
// int32
58+
abs,
59+
labs,
60+
labs,
61+
62+
// int8
63+
abs,
64+
absf,
65+
labs,
66+
labs,
67+
labs,
68+
labs,
69+
70+
// uint16
71+
abs,
72+
absf,
73+
labs,
74+
identityUint32,
75+
identityUint16,
76+
identityUint16,
77+
78+
// uint32
79+
abs,
80+
identityUint32,
81+
identityUint32,
82+
83+
// uint8
84+
abs,
85+
absf,
86+
labs,
87+
labs,
88+
identityUint32,
89+
identityUint16,
90+
identityUint8,
91+
identityUint8,
92+
identityUint8,
93+
94+
// uint8c
95+
abs,
96+
absf,
97+
labs,
98+
labs,
99+
identityUint32,
100+
identityUint16,
101+
identityUint8,
102+
abs,
103+
abs,
104+
105+
// generic
106+
abs
107+
];
108+
109+
110+
// EXPORTS //
111+
112+
module.exports = data;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"nargs": 2,
3+
"nin": 1,
4+
"nout": 1
5+
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/* This is a generated file. Do not edit directly. */
20+
21+
/* eslint-disable array-element-newline */
22+
23+
'use strict';
24+
25+
// MODULES //
26+
27+
var dtypes = require( '@stdlib/ndarray/dtypes' );
28+
29+
30+
// MAIN //
31+
32+
var types = [
33+
// float32 (3)
34+
dtypes.float32, dtypes.float64,
35+
dtypes.float32, dtypes.float32,
36+
dtypes.float32, dtypes.generic,
37+
38+
// float64 (3)
39+
dtypes.float64, dtypes.float64,
40+
dtypes.float64, dtypes.float32,
41+
dtypes.float64, dtypes.generic,
42+
43+
// int16 (5)
44+
dtypes.int16, dtypes.float64,
45+
dtypes.int16, dtypes.float32,
46+
dtypes.int16, dtypes.int32,
47+
dtypes.int16, dtypes.int16,
48+
dtypes.int16, dtypes.generic,
49+
50+
// int32 (3)
51+
dtypes.int32, dtypes.float64,
52+
dtypes.int32, dtypes.int32,
53+
dtypes.int32, dtypes.generic,
54+
55+
// int8 (6)
56+
dtypes.int8, dtypes.float64,
57+
dtypes.int8, dtypes.float32,
58+
dtypes.int8, dtypes.int32,
59+
dtypes.int8, dtypes.int16,
60+
dtypes.int8, dtypes.int8,
61+
dtypes.int8, dtypes.generic,
62+
63+
// uint16 (6)
64+
dtypes.uint16, dtypes.float64,
65+
dtypes.uint16, dtypes.float32,
66+
dtypes.uint16, dtypes.int32,
67+
dtypes.uint16, dtypes.uint32,
68+
dtypes.uint16, dtypes.uint16,
69+
dtypes.uint16, dtypes.generic,
70+
71+
// uint32 (3)
72+
dtypes.uint32, dtypes.float64,
73+
dtypes.uint32, dtypes.uint32,
74+
dtypes.uint32, dtypes.generic,
75+
76+
// uint8 (9)
77+
dtypes.uint8, dtypes.float64,
78+
dtypes.uint8, dtypes.float32,
79+
dtypes.uint8, dtypes.int32,
80+
dtypes.uint8, dtypes.int16,
81+
dtypes.uint8, dtypes.uint32,
82+
dtypes.uint8, dtypes.uint16,
83+
dtypes.uint8, dtypes.uint8,
84+
dtypes.uint8, dtypes.uint8c,
85+
dtypes.uint8, dtypes.generic,
86+
87+
// uint8c (9)
88+
dtypes.uint8c, dtypes.float64,
89+
dtypes.uint8c, dtypes.float32,
90+
dtypes.uint8c, dtypes.int32,
91+
dtypes.uint8c, dtypes.int16,
92+
dtypes.uint8c, dtypes.uint32,
93+
dtypes.uint8c, dtypes.uint16,
94+
dtypes.uint8c, dtypes.uint8,
95+
dtypes.uint8c, dtypes.uint8c,
96+
dtypes.uint8c, dtypes.generic,
97+
98+
// generic (1)
99+
dtypes.generic, dtypes.generic
100+
];
101+
102+
103+
// EXPORTS //
104+
105+
module.exports = types;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[11,12,11,11,11,17,12,12,12,11,12,17,4,12,4,11,4,6,4,4,4,17,6,12,6,6,6,17,1,12,1,11,1,6,1,4,1,1,1,17,5,12,5,11,5,6,5,7,5,5,5,17,7,12,7,7,7,17,2,12,2,11,2,6,2,4,2,7,2,5,2,2,2,3,2,17,3,12,3,11,3,6,3,4,3,7,3,5,3,2,3,3,3,17,17,17]

0 commit comments

Comments
 (0)