Documentation
|
|
The C++ interface for where. More...
| array | where (const array &input) |
| Indices where nonzero (zero-based indexing). More... | |
| void | where (array &row, array &column, const array &input) |
row and column indices of nonzero elements in input More... | |
The C++ interface for where.
Returns the indicies of the non-zero values in an set of elements.
These functions can also be used with conditions as parameters. In such a case, the input array to the function is a boolean array.
| array af::where | ( | const array & | input | ) |