Documentation
|
|
The C++ interface for setintersect. More...
| array | setintersect (const array &A, const array &B) |
| Intersection of two vectors. More... | |
| void | setintersect (array &U, array &IA, array &IB, const array &A, const array &B) |
| Intersection of two vectors and their indices. More... | |
The C++ interface for setintersect.
Returns the intersect of two sets.
| array af::setintersect | ( | const array & | A, |
| const array & | B | ||
| ) |
| void af::setintersect | ( | array & | U, |
| array & | IA, | ||
| array & | IB, | ||
| const array & | A, | ||
| const array & | B | ||
| ) |
Intersection of two vectors and their indices.
| [out] | U | values found in both A and B |
| [out] | IA | The indices of values in A present in B |
| [out] | IB | The indices of values in B present in A |
| [in] | A | |
| [in] | B |