[ADOL-C] extra arguments

Alfonso Callejo alcallejo at gmail.com
Thu Mar 1 07:15:11 EST 2012


Hi Kshitij,

Thanks for your reply. I'll have to retape then. Speaking of which, what's
the best way of doing that? I guess I'll have to re-run the code from
trace_on to trace_off, right?
On another subject: I know function x.value() extracts the real component
of an active variable x; is there an analogous function to extract the
derivatives of that active variable with respect to the inputs?
Thanks.

Regards,
Alfonso

El 29 de febrero de 2012 09:02, Kshitij Kulshreshtha
<kshitij at math.upb.de>escribió:

> Hello,
>
> the only way to change passive parameters is to retrace the whole
> function computation. These are hardwired constants as far as ADOL-C are
> concerned once tracing was completed.
>
> Regards
> Kshitij.
>
> As on 2012-02-28 17:11, Alfonso Callejo did write:
> > Hello everyone,
> >
> > This might be a basic question.
> > Let y=f(x, /extra_arguments/) be the function I want to differentiate,
> > being y of length m and x of size n.
> > The expression for the Jacobian matrix, once the tape has been
> > appropriately generated, is: returnValue = jacobian(tag, m, n, x, DyDx);
> > Assume the /extra_arguments /are extra passive arguments that take part
> > in the computation of y but which don't belong to the vector of
> > independent variables x. Provided the value of the /extra_arguments/ has
> > changed and I want to re-evaluate the Jacobian matrix, how am I supposed
> > to provide them to the Jacobian driver?
> > Thanks a lot.
> >
> > Regards,
> > Alfonso
> >
> >
> > _______________________________________________
> > ADOL-C mailing list
> > ADOL-C at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/adol-c
>
> --
> Dr. Kshitij Kulshreshtha
>
> Institut für Mathematik,
> Universität Paderborn,
> Warburger Straße 100,
> 33098 Paderborn.
>
> Büro: A3.235
>
> Privatanschrift:
> Arnikaweg 62
> 33100 Paderborn.
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20120301/5b6bd7d0/attachment.html>


More information about the ADOL-C mailing list