CppAD: A C++ Algorithmic Differentiation Package 20110419
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.

Definition at line 222 of file discrete.hpp.