[CppAD] time derivatives...
João Leal
joaoruileal at gmail.com
Mon Oct 8 10:29:54 EDT 2012
Hi!
I am trying to implement a DAE index reduction algorithm using CppAD +
CppADCodeGen which requires time differentiation of equations.
Consider the following equation:
dx(t)/dt = x(t) * y(t)
Such equation might have to be differentiated (an unknown number of times)
relative to time (t).
For instance, the first time derivative of the equation would be:
dx(t)/dt^2 = dx(t)/dt * y(t) + x(t) * dy(t)/dt
Any ideas regarding what would be the best strategy to implement this using
CppAD?
I am considering using CPPAD_USER_ATOMIC to make the relation between x -
dxdt - dxdt^2 - ...
Is there a better alternative?
Best regards,
João Leal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cppad/attachments/20121008/7ae4dcdb/attachment.html>
More information about the CppAD
mailing list