Documentation
|
|
The C++ interface for setunique. More...
| array | setunique (const array &input) |
| Unique values. More... | |
| void | setunique (array &values, array &indices, array &locations, const array &input) |
The C++ interface for setunique.
Returns the unique elements of a set.
| array af::setunique | ( | const array & | input | ) |
| void af::setunique | ( | array & | values, |
| array & | indices, | ||
| array & | locations, | ||
| const array & | input | ||
| ) |
unique elements in a vector and their indicies
| [out] | values,: | The unique values from the input vector |
| [out] | indices,: | The index of the first instance of the unique value |
| [out] | locations,: | Location of each input element in the unique values vector |
| [in] | input |