Prev Next BoolFunLink

CppAD Boolean Valued User Defined Functions Implementation

UnaryBool
The procedure call
inline bool UnaryBool( 
     bool 
FunName(const Base &x),
     const AD<
Base> &x)
uses a call to the procedure FunName to evaluate a unary boolean valued function of a base type argument and returns it as the value of the corresponding AD argument.

BinaryBool
The procedure call
inline bool BinaryBool( 
     bool 
FunName(const Base &x, const Base &y),
     const AD<
Base> &x, const AD<Base> &y)
uses a call to the procedure FunName to evaluate a binary boolean valued function of two base type arguments and returns it as the value of the corresponding AD arguments.
Input File: cppad/local/bool_fun_link.hpp