CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
CppAD::discrete< Base >::discrete ( const char *  Name,
F  f 

Constructor called for each invocation of CPPAD_DISCRETE_FUNCTION.

Put this object in the list of all objects for this class and set the constant private data name_, f_, and index_.

Nameis the user's name for this discrete function.
fuser routine that implements this function for Base class.
This constructor can ont be used in parallel mode because it changes the static object List.

Definition at line 238 of file discrete.hpp.