[CppAD] CppAD tape recording

Brad Bell bradbell at seanet.com
Thu Feb 26 20:49:27 EST 2015


One simple way is to use the function
http://www.coin-or.org/CppAD/Doc/jacobian.xml
     jac = f.Jacobian(x)
with the same f and different values for the vector x.

In general, using the same f, without calling its constructor
http://www.coin-or.org/CppAD/Doc/funconstruct.xml
or the Dependent function
http://www.coin-or.org/CppAD/Doc/dependent.xml
uses the same tape.


On 2/26/2015 8:23 AM, Иван Воронов wrote:
> Hello!
>
> Please help to resolve my problem.
> How could I use only one tape
> ( only one object CppAD::ADFun<double> f )
> in order to evaluate the derivative of function in several points?
> The sequence of operation in the function does not
> depend on the argument values.
>
> Thanks to all who are willing to help.
>
> Regards, Ivan.
>
>
> _______________________________________________
> CppAD mailing list
> CppAD at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cppad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cppad/attachments/20150226/59bf7124/attachment.html>


More information about the CppAD mailing list