Prev Next

@(@\newcommand{\B}[1]{{\bf #1}} \newcommand{\R}[1]{{\rm #1}}@)@
Create an Object With One Lower Level of AD

x = value(a_x)

Returns an object with one lower level of AD recording.

The argument a_x must be an a_float (AD level 1), or an a2float (AD level 2). The argument a_x may also be a numpy.array with one of the element types listed in the previous sentence.

If a_x is an a_float, x is a float (AD level 0). If a_x is an a2float, x is an a_float (AD level 1). If a_x is an numpy.array, x is also an numpy.array with the same shape as a_x .

The file contains an example and test of this function.
Input File: pycppad/