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

◆ as_bool() [1/2]

template<typename T >
bool stan::math::as_bool ( const T &  x)
inline

Return true if the argument is not equal to zero (in the != operator sense) and false otherwise.

Template Parameters
Ttype of scalar
Parameters
xvalue
Returns
true if value is not equal to zero

Definition at line 17 of file as_bool.hpp.