Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ for_each() [1/3]

template<typename F , typename T >
constexpr auto stan::math::for_each ( F &&  f,
T &&  t 
)
inlineconstexpr

Apply a function to each element of a tuple.

Template Parameters
Ftype with a valid operator()
TTuple
Parameters
fA functor to apply over each element of the tuple.
tA tuple

Definition at line 66 of file for_each.hpp.