Template Function Jet::Utilities::VectorDisjunctiveUnion¶
Defined in File Utilities.hpp
Function Documentation¶
-
template<typename
T
>
inline std::vector<T>Jet::Utilities
::
VectorDisjunctiveUnion
(const std::vector<T> &v1, const std::vector<T> &v2)¶ Computes the disjunctive union of two small vectors.
- Template Parameters
T – Type of the elements in the vectors.
- Parameters
v1 – Vector on the LHS of the disjunctive union.
v2 – Vector on the RHS of the disjunctive union.
- Returns
Vector containing the elements in exactly one of the vectors.
api/function_Utilities_8hpp_1a1337419d18bc82ea54ed7d0b480efd64
Download Python script
Download Notebook
View on GitHub