Prev Next

@(@\newcommand{\B}[1]{{\bf #1}} \newcommand{\R}[1]{{\rm #1}}@)@
Abort a Recording of AD Operations

Syntax
abort_recording()

Purpose
Sometimes it is necessary to abort the recording of AD operations that started with a call of the form
     
a_x = independent(x)
If such a recording is currently in progress, this will stop the recording and delete the corresponding information. Otherwise, abort_recording has no effect.

Example
The file abort_recording.py contains an example and test of this operation. It returns true if it succeeds and false otherwise.
Input File: pycppad/adfun.py