Find union of two inputs.
More...
Find union of two inputs.
C Interface for performing union of two arrays.
- Parameters
-
[out] | out | will contain the union of first and second |
[in] | first | is the first array |
[in] | second | is the second array |
[in] | is_unique | if true, skips calling unique internally |
- Returns
- AF_SUCCESS if the execution completes properly
AFAPI array af::setunion |
( |
const array & |
first, |
|
|
const array & |
second, |
|
|
const bool |
is_unique = false |
|
) |
| |
C++ Interface for performing union of two arrays.
- Parameters
-
[in] | first | is the first array |
[in] | second | is the second array |
[in] | is_unique | if true, skips calling unique internally |
- Returns
- the union of
first
and second
- Deprecated:
- Use setUnion instead
AFAPI array af::setUnion |
( |
const array & |
first, |
|
|
const array & |
second, |
|
|
const bool |
is_unique = false |
|
) |
| |
C++ Interface for performing union of two arrays.
- Parameters
-
[in] | first | is the first array |
[in] | second | is the second array |
[in] | is_unique | if true, skips calling unique internally |
- Returns
- the union of
first
and second