Convert From an AD Type to its Base Type
Keywords: convert from ad type to its base Value syntax see also purpose x b operation sequence restriction example

| Prev | Next |  |  |  |  |  |  |

Convert From an AD Type to its Base Type
Syntax
`b = Value(x)`
See Also
var2par
Purpose
Converts from an AD type to the corresponding base type .
x
The argument `x` has prototype `
const AD<Base> &x
`
b
The return value `b` has prototype `
Base b
`
Operation Sequence
The result of this operation is not an AD of Base object. Thus it will not be recorded as part of an AD of `Base` operation sequence .
Restriction
If the argument `x` is a variable its dependency information would not be included in the `Value` result (see above). For this reason, the argument `x` must be a parameter ; i.e., it cannot depend on the current independent variables .
Example
The file value.cpp contains an example and test of this operation.

Input File: cppad/local/value.hpp