CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Base >
size_t 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 291 of file recorder.hpp.

Referenced by optimize(), optimize_record_csum(), optimize_record_pv(), and optimize_record_vp().