CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Base>
bool IdenticalPar ( const AD< Base > &  x) [friend]

Determine if an AD<Base> object is a parameter, and could never have a different value during any tape playback.

An AD<Base> object x is identically a parameter if and only if all of the objects in the following chain are parameters:

     x , x.value , x.value.value , ...

In such a case, the value of the object will always be the same no matter what the independent variable values are at any level.

Parameters:
xvalues that we are checking for identically a pamameter.
Returns:
returns true iff x is identically a parameter.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines