Showing content from http://www.arrayfire.org/docs/group__arith__func__round.htm below:
ArrayFire: round
Round numbers to the nearest integer. More...
Functions AFAPI array round (const array &in) C++ Interface to round numbers. More...
AFAPI af_err af_round (af_array *out, const af_array in) C Interface to round numbers. More...
Detailed Description
Round numbers to the nearest integer.
-
Note
-
This function only supports real inputs; complex inputs are not yet supported.
Function Documentation ◆ af_round() AFAPI af_err af_round ( af_array * out, const af_array in )
C Interface to round numbers.
-
Parameters
-
[out] out nearest integer [in] in input array
-
Returns
-
AF_SUCCESS, if function returns successfully, else an af_err code is given
◆ round() AFAPI array round ( const array & in )
C++ Interface to round numbers.
-
Parameters
-
[in] in input array
-
Returns
-
nearest integer
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4