Function concatenate_and_sort
Defined in File oneElLambda.h
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:
v1 – first vector of oneElLambda
v2 – second vector of oneElLambda
- 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