|
Locate the indices of non-zero elements. More...
Functions | |
AFAPI array | where (const array &in) |
C++ Interface for finding the locations of non-zero values in an array. More... | |
AFAPI af_err | af_where (af_array *idx, const af_array in) |
C Interface for finding the locations of non-zero values in an array. More... | |
Locate the indices of non-zero elements.
Return type is u32 for all input types
The locations are provided by flattening the input into a linear array.
C Interface for finding the locations of non-zero values in an array.
[out] | idx | will contain indices where in is non-zero |
[in] | in | is the input array. |
C++ Interface for finding the locations of non-zero values in an array.
[in] | in | is the input array. |
in
is non-zero