#include <algorithm>
#include <functional>
#include "matpack.h"
#include "array.h"
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 |
Definition in file sorting.h.
void get_sorted_indexes | ( | ArrayOfIndex & | sorted, | |
const T & | data | |||
) | [inline] |
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.
sorted | Output array with sorted indexes | |
data | Data to sort |
Definition at line 79 of file sorting.h.
Referenced by f_gridFromSensorAMSU(), f_gridFromSensorHIRS(), testVector(), VectorInsertGridPoints(), and za_gridOpt().