CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Base >
size_t CppAD::recorder< Base >::PutPar ( const Base &  par) [inline]

Find or add a parameter to the current vector of parameters.

Parameters:
paris the parameter to be found or placed in the vector of parameters.
Returns:
is the index in the parameter vector corresponding to this parameter value. This value is not necessarily placed at the end of the vector (because values that are identically equal may be reused).

Definition at line 279 of file recorder.hpp.

Referenced by CppAD::optimize::optimize_run(), CppAD::optimize::record_csum(), CppAD::optimize::record_pv(), and CppAD::optimize::record_vp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines