Prev Next

@(@\newcommand{\B}[1]{ {\bf #1} } \newcommand{\R}[1]{ {\rm #1} }@)@
Optimize an AD Function

Syntax
af.optimize()

Purpose
This reduces the number of operations (hence to time and memory) used to compute the function stored in af On the other hand, the optimization may take a significant amount of time and memory.

af
This object has prototype
     a_fun 
af

Example
C++ , Octave , Perl , Python .
Input File: lib/a_fun.cpp