<div dir="ltr">Thank you Mr. Bell ! Now I feel like moving in the right direction.<br>Special thanks to Peter Caspers, you are a true friend.<br><br>Best regards, Ivan.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-27 3:49 GMT+02:00 Brad Bell <span dir="ltr">&lt;<a href="mailto:bradbell@seanet.com" target="_blank">bradbell@seanet.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <div>One simple way is to use the function<br>
          <a href="http://www.coin-or.org/CppAD/Doc/jacobian.xml" target="_blank">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 href="http://www.coin-or.org/CppAD/Doc/funconstruct.xml" target="_blank">http://www.coin-or.org/CppAD/Doc/funconstruct.xml</a><br>
      or the Dependent function<br>
          <a href="http://www.coin-or.org/CppAD/Doc/dependent.xml" target="_blank">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>
    </span><blockquote type="cite"><div><div class="h5">
      
      <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&lt;double&gt; 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></fieldset>
      <br>
      </div></div><span class=""><pre>_______________________________________________
CppAD mailing list
<a href="mailto:CppAD@list.coin-or.org" target="_blank">CppAD@list.coin-or.org</a>
<a href="http://list.coin-or.org/mailman/listinfo/cppad" target="_blank">http://list.coin-or.org/mailman/listinfo/cppad</a>
</pre>
    </span></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
CppAD mailing list<br>
<a href="mailto:CppAD@list.coin-or.org">CppAD@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cppad" target="_blank">http://list.coin-or.org/mailman/listinfo/cppad</a><br>
<br></blockquote></div><br></div>