Documentation
|
|
The C++ interface for setunion. More...
| array | setunion (const array &A, const array &B) |
| Union of two vectors. More... | |
| void | setunion (array &U, array &IA, array &IB, const array &A, const array &B) |
| Union of two vectors and their indices. More... | |
The C++ interface for setunion.
Creates a union of two sets
| array af::setunion | ( | const array & | A, |
| const array & | B | ||
| ) |
| void af::setunion | ( | array & | U, |
| array & | IA, | ||
| array & | IB, | ||
| const array & | A, | ||
| const array & | B | ||
| ) |
Union of two vectors and their indices.
| [out] | U | values found in either A or B |
| [out] | IA | indices of values present in A |
| [out] | IB | indices of values present in B but not in A |
| [in] | A | |
| [in] | B |