Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::internal::reduce_sum_impl< ReduceFunction, Enable, ReturnType, Vec, Args > Struct Template Reference

Detailed Description

template<typename ReduceFunction, typename Enable, typename ReturnType, typename Vec, typename... Args>
struct stan::math::internal::reduce_sum_impl< ReduceFunction, Enable, ReturnType, Vec, Args >

reduce_sum_impl implementation for any autodiff type.

Template Parameters
ReduceFunctionType of reducer function
ReturnTypeAn arithmetic type
VecType of sliced argument
ArgsTypes of shared arguments

Definition at line 29 of file reduce_sum.hpp.

#include <reduce_sum.hpp>

Public Member Functions

return_type_t< Vec, Args... > operator() (Vec &&vmapped, bool auto_partitioning, int grainsize, std::ostream *msgs, Args &&... args) const
 Call an instance of the function ReduceFunction on every element of an input sequence and sum these terms.
 

The documentation for this struct was generated from the following file: