guanaqo 1.0.0-alpha.26
Utilities for scientific software
Loading...
Searching...
No Matches
loop.hpp File Reference

Detailed Description

Chunked iteration helpers.

Definition in file loop.hpp.

Go to the source code of this file.

Namespaces

namespace  guanaqo

Enumerations

enum class  guanaqo::LoopDir : bool { guanaqo::LoopDir::Forward , guanaqo::LoopDir::Backward }
 Direction for chunked iteration. More...

Functions

template<class I>
void guanaqo::foreach_chunked (I i_begin, I i_end, auto chunk_size, auto func_chunk, auto func_rem, LoopDir dir=LoopDir::Forward)
template<class I>
void guanaqo::foreach_chunked_merged (I i_begin, I i_end, auto chunk_size, auto func_chunk, LoopDir dir=LoopDir::Forward)