|
| 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 | +/* |
| 20 | +* The following is auto-generated. Do not manually edit. See scripts/inline_loops.js. |
| 21 | +*/ |
| 22 | + |
| 23 | +#ifndef STDLIB_NDARRAY_BASE_EVERY_INLINE_B_X_H |
| 24 | +#define STDLIB_NDARRAY_BASE_EVERY_INLINE_B_X_H |
| 25 | + |
| 26 | +#include "stdlib/ndarray/ctor.h" |
| 27 | +#include <stdint.h> |
| 28 | + |
| 29 | +/* |
| 30 | +* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler. |
| 31 | +*/ |
| 32 | +#ifdef __cplusplus |
| 33 | +extern "C" { |
| 34 | +#endif |
| 35 | + |
| 36 | +/** |
| 37 | +* Tests whether every element in an input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 38 | +*/ |
| 39 | +int8_t stdlib_ndarray_every_b_x( struct ndarray *arrays[], void *data ); |
| 40 | + |
| 41 | +/** |
| 42 | +* Tests whether every element in a zero-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 43 | +*/ |
| 44 | +int8_t stdlib_ndarray_every_b_x_0d( struct ndarray *arrays[], void *data ); |
| 45 | + |
| 46 | +/** |
| 47 | +* Tests whether every element in a one-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 48 | +*/ |
| 49 | +int8_t stdlib_ndarray_every_b_x_1d( struct ndarray *arrays[], void *data ); |
| 50 | + |
| 51 | +/** |
| 52 | +* Tests whether every element in a two-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 53 | +*/ |
| 54 | +int8_t stdlib_ndarray_every_b_x_2d( struct ndarray *arrays[], void *data ); |
| 55 | + |
| 56 | +/** |
| 57 | +* Tests whether every element in a two-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 58 | +*/ |
| 59 | +int8_t stdlib_ndarray_every_b_x_2d_blocked( struct ndarray *arrays[], void *data ); |
| 60 | + |
| 61 | +/** |
| 62 | +* Tests whether every element in a three-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 63 | +*/ |
| 64 | +int8_t stdlib_ndarray_every_b_x_3d( struct ndarray *arrays[], void *data ); |
| 65 | + |
| 66 | +/** |
| 67 | +* Tests whether every element in a three-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 68 | +*/ |
| 69 | +int8_t stdlib_ndarray_every_b_x_3d_blocked( struct ndarray *arrays[], void *data ); |
| 70 | + |
| 71 | +/** |
| 72 | +* Tests whether every element in a four-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 73 | +*/ |
| 74 | +int8_t stdlib_ndarray_every_b_x_4d( struct ndarray *arrays[], void *data ); |
| 75 | + |
| 76 | +/** |
| 77 | +* Tests whether every element in a four-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 78 | +*/ |
| 79 | +int8_t stdlib_ndarray_every_b_x_4d_blocked( struct ndarray *arrays[], void *data ); |
| 80 | + |
| 81 | +/** |
| 82 | +* Tests whether every element in a five-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 83 | +*/ |
| 84 | +int8_t stdlib_ndarray_every_b_x_5d( struct ndarray *arrays[], void *data ); |
| 85 | + |
| 86 | +/** |
| 87 | +* Tests whether every element in a five-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 88 | +*/ |
| 89 | +int8_t stdlib_ndarray_every_b_x_5d_blocked( struct ndarray *arrays[], void *data ); |
| 90 | + |
| 91 | +/** |
| 92 | +* Tests whether every element in a six-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 93 | +*/ |
| 94 | +int8_t stdlib_ndarray_every_b_x_6d( struct ndarray *arrays[], void *data ); |
| 95 | + |
| 96 | +/** |
| 97 | +* Tests whether every element in a six-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 98 | +*/ |
| 99 | +int8_t stdlib_ndarray_every_b_x_6d_blocked( struct ndarray *arrays[], void *data ); |
| 100 | + |
| 101 | +/** |
| 102 | +* Tests whether every element in a seven-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 103 | +*/ |
| 104 | +int8_t stdlib_ndarray_every_b_x_7d( struct ndarray *arrays[], void *data ); |
| 105 | + |
| 106 | +/** |
| 107 | +* Tests whether every element in a seven-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 108 | +*/ |
| 109 | +int8_t stdlib_ndarray_every_b_x_7d_blocked( struct ndarray *arrays[], void *data ); |
| 110 | + |
| 111 | +/** |
| 112 | +* Tests whether every element in an eight-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 113 | +*/ |
| 114 | +int8_t stdlib_ndarray_every_b_x_8d( struct ndarray *arrays[], void *data ); |
| 115 | + |
| 116 | +/** |
| 117 | +* Tests whether every element in an eight-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 118 | +*/ |
| 119 | +int8_t stdlib_ndarray_every_b_x_8d_blocked( struct ndarray *arrays[], void *data ); |
| 120 | + |
| 121 | +/** |
| 122 | +* Tests whether every element in a nine-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 123 | +*/ |
| 124 | +int8_t stdlib_ndarray_every_b_x_9d( struct ndarray *arrays[], void *data ); |
| 125 | + |
| 126 | +/** |
| 127 | +* Tests whether every element in a nine-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 128 | +*/ |
| 129 | +int8_t stdlib_ndarray_every_b_x_9d_blocked( struct ndarray *arrays[], void *data ); |
| 130 | + |
| 131 | +/** |
| 132 | +* Tests whether every element in a ten-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 133 | +*/ |
| 134 | +int8_t stdlib_ndarray_every_b_x_10d( struct ndarray *arrays[], void *data ); |
| 135 | + |
| 136 | +/** |
| 137 | +* Tests whether every element in a ten-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 138 | +*/ |
| 139 | +int8_t stdlib_ndarray_every_b_x_10d_blocked( struct ndarray *arrays[], void *data ); |
| 140 | + |
| 141 | +/** |
| 142 | +* Tests whether every element in an n-dimensional input ndarray is truthy and assigns the result to a zero-dimensional output ndarray. |
| 143 | +*/ |
| 144 | +int8_t stdlib_ndarray_every_b_x_nd( struct ndarray *arrays[], void *data ); |
| 145 | + |
| 146 | +#ifdef __cplusplus |
| 147 | +} |
| 148 | +#endif |
| 149 | + |
| 150 | +#endif // !STDLIB_NDARRAY_BASE_EVERY_INLINE_B_X_H |
0 commit comments