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

◆ for_each() [2/3]

template<typename F , typename T1 , typename T2 >
constexpr auto stan::math::for_each ( F &&  f,
T1 &&  t1,
T2 &&  t2 
)
inlineconstexpr

Apply a function to each element of two tuples.

Template Parameters
Ftype with a valid operator()
T1Tuple
T2Another tuple
Parameters
fA functor to apply over each element of the tuple.
t1A tuple
t2Another tuple

Definition at line 82 of file for_each.hpp.