Value

View page source

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

The argument x must not be a Variable or Dynamic parameter because its dependency information would not be included in the Value result b .

Example

The file value.cpp contains an example and test of this operation.