<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">One simple way is to use the function<br>
<a class="moz-txt-link-freetext"
href="http://www.coin-or.org/CppAD/Doc/jacobian.xml">http://www.coin-or.org/CppAD/Doc/jacobian.xml</a><br>
jac = f.Jacobian(x)<br>
with the same f and different values for the vector x.<br>
<br>
In general, using the same f, without calling its constructor <br>
<a class="moz-txt-link-freetext"
href="http://www.coin-or.org/CppAD/Doc/funconstruct.xml">http://www.coin-or.org/CppAD/Doc/funconstruct.xml</a><br>
or the Dependent function<br>
<a class="moz-txt-link-freetext"
href="http://www.coin-or.org/CppAD/Doc/dependent.xml">http://www.coin-or.org/CppAD/Doc/dependent.xml</a><br>
uses the same tape.<br>
<br>
<br>
On 2/26/2015 8:23 AM, Иван Воронов wrote:<br>
</div>
<blockquote
cite="mid:CAN5BRMJDwg36csUZV_a9wcrw7NggGzD6vKjtSRXfPn1m_BGwrQ@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello!<br>
<br>
<div>Please help to resolve my problem. <br>
How could I use only one tape <br>
( only one object CppAD::ADFun<double> f )<br>
in order to evaluate the derivative of function in several
points?<br>
The sequence of operation in the function does not <br>
depend on the argument values. <br>
<br>
Thanks to all who are willing to help.<br>
<br>
Regards, Ivan.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
CppAD mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CppAD@list.coin-or.org">CppAD@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cppad">http://list.coin-or.org/mailman/listinfo/cppad</a>
</pre>
</blockquote>
<br>
</body>
</html>