|
CppAD: A C++ Algorithmic Differentiation Package
20130918
|
| CppAD::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_.
| Name | is the user's name for this discrete function. |
| f | user routine that implements this function for Base class. |
List. Definition at line 245 of file discrete.hpp.