SyTen

◆ addLog() [2/4]

template<typename Container , typename Function >
void syten::addLog ( Container &  c,
Function &&  f,
std::size_t  threshold = 2,
std::size_t  avail_threads = 1 
)

Adds values contained in c into c[0], applying f whenever more than threshold terms have been summed.

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

+ Here is the call graph for this function: