Function concatenate_and_sort

Function Documentation

inline vector<oneElLambda> concatenate_and_sort(const vector<oneElLambda> &v1, const vector<oneElLambda> &v2)

merge two oneElLambda vectors into a sorted one

Parameters:
Returns:

vector merging v1 and v2 into a single vector, ordered by increasing lambda. Each oneElLambda keeps its original attribute ori, which allows to keep track of the origin of this element as coming from v1 or v2