Functions | |
| array | setunique (const array &input) |
| unique values | |
| void | setunique (array &values, array &indices, array &locations, const array &input) |
| unique elements in a vector and their indicies | |
| array | setunion (const array &A, const array &B) |
| union of two vectors | |
| void | setunion (array &U, array &IA, array &IB, const array &A, const array &B) |
| union of two vectors and their indices | |
| array | setintersect (const array &A, const array &B) |
| intersection of two vectors | |
| void | setintersect (array &U, array &IA, array &IB, const array &A, const array &B) |
| intersection of two vectors and their indices | |
| array af::setunique | ( | const array & | input | ) |
unique values
| [in] | input | treated as vector |
| void af::setunique | ( | array & | values, |
| array & | indices, | ||
| array & | locations, | ||
| const array & | input | ||
| ) |
unique elements in a vector and their indicies
| [out] | values | |
| [out] | indices | |
| [out] | locations | |
| [in] | input |
| array af::setunion | ( | const array & | A, |
| const array & | B | ||
| ) |
union of two vectors
| [in] | A | |
| [in] | B |
A and 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 |
| array af::setintersect | ( | const array & | A, |
| const array & | B | ||
| ) |
intersection of two vectors
| [in] | A | |
| [in] | 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 present in A but not in B |
| [out] | IB | The indices of values present in B but not in A |
| [in] | A | |
| [in] | B |