Find unique values from an input.
More...
Find unique values from an input.
C Interface for getting unique values.
- Parameters
-
| [out] | out | will contain the unique values from in |
| [in] | in | is the input array |
| [in] | is_sorted | if true, skips the sorting steps internally |
- Returns
- AF_SUCCESS if the execution completes properly
| AFAPI array af::setunique |
( |
const array & |
in, |
|
|
const bool |
is_sorted = false |
|
) |
| |
C++ Interface for getting unique values.
- Parameters
-
| [in] | in | is the input array |
| [in] | is_sorted | if true, skips the sorting steps internally |
- Returns
- the unique values from
in
- Deprecated:
- Use setUnique instead
| AFAPI array af::setUnique |
( |
const array & |
in, |
|
|
const bool |
is_sorted = false |
|
) |
| |
C++ Interface for getting unique values.
- Parameters
-
| [in] | in | is the input array |
| [in] | is_sorted | if true, skips the sorting steps internally |
- Returns
- the unique values from
in