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

◆ logical_negation()

template<typename T >
int stan::math::logical_negation ( const T &  x)
inline

The logical negation function which returns one if the input is equal to zero and zero otherwise.

Template Parameters
Ttype of value
Parameters
xvalue
Returns
1 if value is zero and 0 otherwise

Definition at line 17 of file logical_negation.hpp.