Skip to content

Commit 15931ac

Browse files
committed
chore: update template to include predicate function signatures
--- 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 29c95a5 commit 15931ac

File tree

1 file changed

+110
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/base/every/scripts/templates

1 file changed

+110
-0
lines changed

lib/node_modules/@stdlib/ndarray/base/every/scripts/templates/header.txt

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,31 @@ extern "C" {
3838
*/
3939
int8_t stdlib_ndarray_every_{{SIGNATURE}}( struct ndarray *arrays[], void *data );
4040

41+
/**
42+
* Tests whether every element is truthy according to a predicate function and assigns the result to a zero-dimensional output ndarray.
43+
*/
44+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}( struct ndarray *arrays[], void *fcn );
45+
4146
/**
4247
* Tests whether every element is truthy in a zero-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
4348
*/
4449
int8_t stdlib_ndarray_every_{{SIGNATURE}}_0d( struct ndarray *arrays[], void *data );
4550

51+
/**
52+
* Tests whether every element is truthy in a zero-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
53+
*/
54+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_0d( struct ndarray *arrays[], void *fcn );
55+
4656
/**
4757
* Tests whether every element is truthy in a one-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
4858
*/
4959
int8_t stdlib_ndarray_every_{{SIGNATURE}}_1d( struct ndarray *arrays[], void *data );
5060

61+
/**
62+
* Tests whether every element is truthy in a one-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
63+
*/
64+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_1d( struct ndarray *arrays[], void *fcn );
65+
5166
/**
5267
* Tests whether every element is truthy in a two-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
5368
*/
@@ -58,6 +73,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_2d( struct ndarray *arrays[], void *da
5873
*/
5974
int8_t stdlib_ndarray_every_{{SIGNATURE}}_2d_blocked( struct ndarray *arrays[], void *data );
6075

76+
/**
77+
* Tests whether every element is truthy in a two-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
78+
*/
79+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_2d( struct ndarray *arrays[], void *fcn );
80+
81+
/**
82+
* Tests whether every element is truthy in a two-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
83+
*/
84+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_2d_blocked( struct ndarray *arrays[], void *fcn );
85+
6186
/**
6287
* Tests whether every element is truthy in a three-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
6388
*/
@@ -68,6 +93,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_3d( struct ndarray *arrays[], void *da
6893
*/
6994
int8_t stdlib_ndarray_every_{{SIGNATURE}}_3d_blocked( struct ndarray *arrays[], void *data );
7095

96+
/**
97+
* Tests whether every element is truthy in a three-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
98+
*/
99+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_3d( struct ndarray *arrays[], void *fcn );
100+
101+
/**
102+
* Tests whether every element is truthy in a three-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
103+
*/
104+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_3d_blocked( struct ndarray *arrays[], void *fcn );
105+
71106
/**
72107
* Tests whether every element is truthy in a four-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
73108
*/
@@ -78,6 +113,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_4d( struct ndarray *arrays[], void *da
78113
*/
79114
int8_t stdlib_ndarray_every_{{SIGNATURE}}_4d_blocked( struct ndarray *arrays[], void *data );
80115

116+
/**
117+
* Tests whether every element is truthy in a four-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
118+
*/
119+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_4d( struct ndarray *arrays[], void *fcn );
120+
121+
/**
122+
* Tests whether every element is truthy in a four-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
123+
*/
124+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_4d_blocked( struct ndarray *arrays[], void *fcn );
125+
81126
/**
82127
* Tests whether every element is truthy in a five-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
83128
*/
@@ -88,6 +133,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_5d( struct ndarray *arrays[], void *da
88133
*/
89134
int8_t stdlib_ndarray_every_{{SIGNATURE}}_5d_blocked( struct ndarray *arrays[], void *data );
90135

136+
/**
137+
* Tests whether every element is truthy in a five-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
138+
*/
139+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_5d( struct ndarray *arrays[], void *fcn );
140+
141+
/**
142+
* Tests whether every element is truthy in a five-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
143+
*/
144+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_5d_blocked( struct ndarray *arrays[], void *fcn );
145+
91146
/**
92147
* Tests whether every element is truthy in a six-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
93148
*/
@@ -98,6 +153,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_6d( struct ndarray *arrays[], void *da
98153
*/
99154
int8_t stdlib_ndarray_every_{{SIGNATURE}}_6d_blocked( struct ndarray *arrays[], void *data );
100155

156+
/**
157+
* Tests whether every element is truthy in a six-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
158+
*/
159+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_6d( struct ndarray *arrays[], void *fcn );
160+
161+
/**
162+
* Tests whether every element is truthy in a six-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
163+
*/
164+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_6d_blocked( struct ndarray *arrays[], void *fcn );
165+
101166
/**
102167
* Tests whether every element is truthy in a seven-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
103168
*/
@@ -108,6 +173,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_7d( struct ndarray *arrays[], void *da
108173
*/
109174
int8_t stdlib_ndarray_every_{{SIGNATURE}}_7d_blocked( struct ndarray *arrays[], void *data );
110175

176+
/**
177+
* Tests whether every element is truthy in a seven-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
178+
*/
179+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_7d( struct ndarray *arrays[], void *fcn );
180+
181+
/**
182+
* Tests whether every element is truthy in a seven-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
183+
*/
184+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_7d_blocked( struct ndarray *arrays[], void *fcn );
185+
111186
/**
112187
* Tests whether every element is truthy in an eight-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
113188
*/
@@ -118,6 +193,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_8d( struct ndarray *arrays[], void *da
118193
*/
119194
int8_t stdlib_ndarray_every_{{SIGNATURE}}_8d_blocked( struct ndarray *arrays[], void *data );
120195

196+
/**
197+
* Tests whether every element is truthy in an eight-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
198+
*/
199+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_8d( struct ndarray *arrays[], void *fcn );
200+
201+
/**
202+
* Tests whether every element is truthy in an eight-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
203+
*/
204+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_8d_blocked( struct ndarray *arrays[], void *fcn );
205+
121206
/**
122207
* Tests whether every element is truthy in a nine-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
123208
*/
@@ -128,6 +213,16 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_9d( struct ndarray *arrays[], void *da
128213
*/
129214
int8_t stdlib_ndarray_every_{{SIGNATURE}}_9d_blocked( struct ndarray *arrays[], void *data );
130215

216+
/**
217+
* Tests whether every element is truthy in a nine-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
218+
*/
219+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_9d( struct ndarray *arrays[], void *fcn );
220+
221+
/**
222+
* Tests whether every element is truthy in a nine-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
223+
*/
224+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_9d_blocked( struct ndarray *arrays[], void *fcn );
225+
131226
/**
132227
* Tests whether every element is truthy in a ten-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
133228
*/
@@ -138,11 +233,26 @@ int8_t stdlib_ndarray_every_{{SIGNATURE}}_10d( struct ndarray *arrays[], void *d
138233
*/
139234
int8_t stdlib_ndarray_every_{{SIGNATURE}}_10d_blocked( struct ndarray *arrays[], void *data );
140235

236+
/**
237+
* Tests whether every element is truthy in a ten-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
238+
*/
239+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_10d( struct ndarray *arrays[], void *fcn );
240+
241+
/**
242+
* Tests whether every element is truthy in a ten-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
243+
*/
244+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_10d_blocked( struct ndarray *arrays[], void *fcn );
245+
141246
/**
142247
* Tests whether every element is truthy in an n-dimensional input ndarray and assigns the result to a zero-dimensional output ndarray.
143248
*/
144249
int8_t stdlib_ndarray_every_{{SIGNATURE}}_nd( struct ndarray *arrays[], void *data );
145250

251+
/**
252+
* Tests whether every element is truthy in an n-dimensional input ndarray according to a predicate function and assigns the result to a zero-dimensional output ndarray.
253+
*/
254+
int8_t stdlib_ndarray_every_by_{{SIGNATURE}}_nd( struct ndarray *arrays[], void *fcn );
255+
146256
#ifdef __cplusplus
147257
}
148258
#endif

0 commit comments

Comments
 (0)