CppAD: A C++ Algorithmic Differentiation Package
20171217
|
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool CppAD::IdenticalPar | ( | const AD< Base > & | x | ) |
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:
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.
x | values that we are checking for identically a pamameter. |
x
is identically a parameter. Definition at line 45 of file identical.hpp.