Find intersection of two inputs.
More...
Find intersection of two inputs.
C Interface for performing intersect of two arrays.
- Parameters
-
[out] | out | will contain the intersection 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::setintersect |
( |
const array & |
first, |
|
|
const array & |
second, |
|
|
const bool |
is_unique = false |
|
) |
| |
C++ Interface for performing intersect 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 intersection of
first
and second
- Deprecated:
- Use setIntersect instead
AFAPI array af::setIntersect |
( |
const array & |
first, |
|
|
const array & |
second, |
|
|
const bool |
is_unique = false |
|
) |
| |
C++ Interface for performing intersect 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 intersection of
first
and second