CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
#define CPPAD_BOOL_UNARY (   Base,
  unary_name 
)
Value:
inline bool unary_name (const CppAD::AD<Base> &x) \
{ \
return CppAD::AD<Base>::UnaryBool(unary_name, x); \
}
Definition: ad.hpp:34
static bool UnaryBool(bool FunName(const Base &x), const AD< Base > &x)
Link a function name, and AD value pair to function call with base argument and bool retrun value...
Definition: bool_fun.hpp:189

Macro that defines a unary function bool F(AD<Base> x) using bool F(Base x).

Parameters
Basebase for the AD type of arguments to this unary bool valued function.
unary_namename of this unary function; i.e., F.

Definition at line 167 of file bool_fun.hpp.