All Numeric Algorithms
All Numeric Algorithms
A compact scan page for the main standard numeric algorithms from <numeric> and adjacent math-oriented facilities.
All Numeric Algorithms
A compact scan page for the main standard numeric algorithms from <numeric> and adjacent math-oriented facilities.
Use reference pages to confirm names, categories, nearby facilities, and the constraints that matter before writing or reviewing code.
std::accumulatestd::reducestd::transform_reducestd::inclusive_scanstd::exclusive_scanstd::transform_inclusive_scanstd::transform_exclusive_scanstd::adjacent_differencestd::inner_productstd::gcdstd::lcm<numeric>accumulate for ordered left folds when sequencing matters.reduce when parallel-friendly reduction semantics are acceptable.int main() {
// Pick one facility from this reference page.
// Write the smallest program that exercises its main precondition,
// complexity rule, or lifetime constraint before scaling up.
return 0;
}