Return the sign of elements in an array. More...
Functions | |
AFAPI array | sign (const array &in) |
C++ Interface to return the sign of elements in an array. More... | |
AFAPI af_err | af_sign (af_array *out, const af_array in) |
C Interface to calculate the sign of elements in an array. More... | |
Return the sign of elements in an array.
C Interface to calculate the sign of elements in an array.
[out] | out | array containing 1's for negative values; 0's otherwise |
[in] | in | input array |