SyTen
select_cutoffs.h File Reference

Functions to select a cutoff iterator from an iterator range. More...

#include <cmath>
#include <complex>
#include "inc/util/thresholds.h"
#include "inc/util/closeness.h"
+ Include dependency graph for select_cutoffs.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

template<typename IterFirst , typename IterLast >
IterFirst syten::select_cutoff_jump (IterFirst beg, IterLast end, SRDef threshold=1e5)
 Returns an iterator to the first element after the first relative jump greater than threshold. More...
 
template<typename IterFirst , typename IterLast >
IterFirst syten::select_cutoff_relative (IterFirst begin, IterLast end)
 Returns the first element which is smaller than the first element by a factor larger than SYTEN_SMALL_THRESHOLD. More...
 

Detailed Description

Functions to select a cutoff iterator from an iterator range.