CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base >
discrete< Base >::discrete ( const char *  Name,
F  f 
) [inline]

Constructor called for each invocation of CPPAD_DISCRETE_FUNCTION.

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

Parameters:
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 247 of file discrete.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines