ARTS  2.2.66
sorting.h File Reference

Contains sorting routines. More...

#include <algorithm>
#include <functional>
#include "matpack.h"
#include "array.h"
Include dependency graph for sorting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IndexComp< T >
 IndexComp. More...
 

Functions

template<typename T >
void get_sorted_indexes (ArrayOfIndex &sorted, const T &data)
 get_sorted_indexes More...
 

Detailed Description

Contains sorting routines.

Author
Oliver Lemke
Date
2003-08-20

Definition in file sorting.h.

Function Documentation

◆ get_sorted_indexes()

template<typename T >
void get_sorted_indexes ( ArrayOfIndex sorted,
const T &  data 
)

get_sorted_indexes

The output array contains the sorted indexes of the input data.

The following member functions must be defined for the input data type: T.begin, T.end, T.operator[], T.operator<

Furthermore, it must provide the type T::const_iterator.

Parameters
sortedOutput array with sorted indexes
dataData to sort
Author
Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo
Date
2003-08-20

Definition at line 79 of file sorting.h.

Referenced by find_effective_channel_boundaries(), pnd_fieldF07ML(), pnd_fieldF07TR(), pnd_fieldGM58(), pnd_fieldH11(), pnd_fieldH13(), pnd_fieldH13Shape(), pnd_fieldH98(), pnd_fieldMGD_IWC(), pnd_fieldMGD_LWC(), pnd_fieldMH97(), pnd_fieldMP48(), pnd_fieldSS70(), testVector(), VectorInsertGridPoints(), and za_gridOpt().