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

◆ possibly_sum() [2/2]

template<typename CondSum , typename T1 , require_not_t< CondSum > * = nullptr>
auto stan::math::possibly_sum ( T1 &&  x)
inline

Conditionally sum the input at compile time.

This overload does not sum.

Template Parameters
CondSumA struct with a static boolean member value which if false will pass the input to the output.
TA scalar, Eigen type, or standard vector with inner scalar type.
Parameters
xThe value to be passed trhough.

Definition at line 30 of file possibly_sum.hpp.