CppAD: A C++ Algorithmic Differentiation Package 20110419
bool_fun.hpp

Defines

#define CPPAD_BOOL_UNARY(Base, unary_name)
 Macro that defines a unary function bool F(AD<Base> x) using bool F(Base x).
#define CppADCreateUnaryBool   CPPAD_BOOL_UNARY
 Deprecated name for CPPAD_BOOL_UNARY.
#define CPPAD_BOOL_BINARY(Base, binary_name)
 Macro that defines a binary function bool F(AD<Base> x, AD<Base> y) using bool F(Base x, Base y).
#define CppADCreateBinaryBool   CPPAD_BOOL_BINARY
 Deprecated name for CPPAD_BOOL_BINARY.

Functions

static bool AD::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.
static bool AD::BinaryBool (bool FunName(const Base &x, const Base &y), const AD< Base > &x, const AD< Base > &y)
 Link a function name, and two AD values to function call with base arguments and bool retrun value.