SyTen

◆ select_cutoff_jump()

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.

If there is no relative jump greater than threshold, returns beg advanced until beg == end.

Requires [beg, end) to be sorted in descending order by absolute value. If *beg == 0., returns beg.

References abs(), and syten::Caching::threshold.

Referenced by rank().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: