Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created January 8, 2017 16:43
Show Gist options
  • Save deque-blog/2268df0bff07830c3c76a455b6581e36 to your computer and use it in GitHub Desktop.
Save deque-blog/2268df0bff07830c3c76a455b6581e36 to your computer and use it in GitHub Desktop.
auto res = accumulate(
read(source),
std::make_tuple(
FindMinimum<double>()(),
GetAverage()(),
CountVariationBiggerThan(2)()),
par_steps(
FindMinimum<double>(),
GetAverage(),
CountVariationBiggerThan(2)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment