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


Detailed Description

Contains sorting routines.

Author:
Oliver Lemke
Date:
2003-08-20

Definition in file sorting.h.


Function Documentation

template<typename T>
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.

Parameters:
sorted Output array with sorted indexes
data Data to sort
Author:
Oliver Lemke <olemke@core-dump.info>
Date:
2003-08-20

Definition at line 79 of file sorting.h.

Referenced by f_gridFromSensorAMSU(), f_gridFromSensorHIRS(), testVector(), VectorInsertGridPoints(), and za_gridOpt().


Generated on Mon Mar 23 14:06:52 2009 for ARTS by  doxygen 1.5.6