openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Namespaces | Functions
SF_sort.h File Reference

Various sorting algorithms. More...

#include "SF_vector.h"
#include "hashmap.hpp"
Include dependency graph for SF_sort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SF
 

Functions

template<class T >
void SF::_binary_sort (T *_P, T *_Q, T s)
 
template<class T , class S >
void SF::_binary_sort_copy (T *_P, T *_Q, S *_U, S *_V, T s)
 
template<class T , class S , class R >
void SF::_binary_sort_copy_copy (T *_P, T *_Q, S *_A, S *_B, R *_U, R *_V, T s)
 
template<class T >
void SF::_binary_sort_sort (T *_P, T *_Q, T *_A, T *_B, T s, T t)
 
template<class T , class S >
void SF::_binary_sort_sort_copy (T *_P, T *_Q, T *_A, T *_B, S *_U, S *_V, T s, T t)
 
template<class T >
SF::_binary_log (const T *P, const T *Q)
 
template<class T >
void SF::binary_sort (vector< T > &_V)
 
template<class T , class S >
void SF::binary_sort_copy (vector< T > &_V, vector< S > &_W)
 
template<class T , class S , class R >
void SF::binary_sort_copy_copy (vector< T > &_V, vector< S > &_W, vector< R > &_A)
 
template<class T >
void SF::binary_sort_sort (vector< T > &_V, vector< T > &_W)
 
template<class T , class S >
void SF::binary_sort_sort_copy (vector< T > &_V, vector< T > &_W, vector< S > &_A)
 
template<class T >
void SF::unique_resize (vector< T > &_P)
 
template<class T >
void SF::unique_resize (vector< T > &_P, vector< T > &_U)
 
template<class T , class S >
void SF::unique_accumulate (vector< T > &_P, vector< S > &_A)
 
template<class T , class S >
void SF::unique_accumulate (vector< T > &_P, vector< T > &_U, vector< S > &_A)
 
template<class T >
void SF::global_to_local_sorted (const vector< T > &glob, vector< T > &data, bool sortedData, bool doWarn)
 
template<class T >
void SF::global_to_local (const vector< T > &glob, vector< T > &data, bool sortedData, bool doWarn)
 
template<class T >
void SF::global_to_local (const hashmap::unordered_map< T, T > &g2l, vector< T > &data, bool doWarn)
 

Detailed Description

Various sorting algorithms.

Author
Manfred Liebmann
Version
Date
2017-02-14

Definition in file SF_sort.h.