¶template <typename Scalar, typename BinaryOp>
std::unique_ptr<reducer> make_reducer(
const BinaryOp& op,
const Scalar& identity)
template <typename Scalar, typename BinaryOp>
std::unique_ptr<reducer> make_reducer(
const BinaryOp& op,
const Scalar& identity)
Template Parameters
- Scalar
- BinaryOp
Parameters
- const BinaryOp& op
- const Scalar& identity