tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
transform_reduce.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt , typename T , typename BinaryReductionOp , typename UnaryTransformOp >
constexpr auto transform_reduce (InputIt first, InputIt last, T init, BinaryReductionOp reduce, UnaryTransformOp transform) -> T
 https://en.cppreference.com/w/cpp/algorithm/transform_reduce
 
template<typename InputIt1 , typename InputIt2 , typename T >
constexpr auto transform_reduce (InputIt1 first1, InputIt1 last1, InputIt2 first2, T init) -> T
 https://en.cppreference.com/w/cpp/algorithm/transform_reduce
 
template<typename InputIt1 , typename InputIt2 , typename T , typename BinaryReductionOp , typename BinaryTransformOp >
constexpr auto transform_reduce (InputIt1 first1, InputIt1 last1, InputIt2 first2, T init, BinaryReductionOp reduce, BinaryTransformOp transform) -> T
 https://en.cppreference.com/w/cpp/algorithm/transform_reduce