ArrayFire: ceil
Rounds up to the least integer greater than or equal to x. More...
Functions | |
| AFAPI array | ceil (const array &in) |
| C++ Interface to ceil numbers. More... | |
| AFAPI af_err | af_ceil (af_array *out, const af_array in) |
| C Interface to ceil numbers. More... | |
Rounds up to the least integer greater than or equal to x.
- Note
- This function only supports real inputs; complex inputs are not yet supported.
◆ af_ceil()
C Interface to ceil numbers.
- Parameters
-
[out] out nearest integer greater than or equal to in[in] in input array
- Returns
- AF_SUCCESS, if function returns successfully, else an af_err code is given
C++ Interface to ceil numbers.
- Parameters
- Returns
- nearest integer greater than or equal to
in