[R] precompiled ode with spline input

Daniel Kaschek daniel.kaschek at physik.uni-freiburg.de
Tue Mar 15 13:00:46 CET 2011


I tried to use lsode with precompiled C code instead of an R function
defining the derivatives. No problem so far.

However, now I need to implement an ODE that contains spline functions,
i.e. the derivatives at given time points depend on the value of a
spline function at this time point. What is an efficient way to
implement this in precompiled C code?

-- 
Daniel Kaschek <daniel.kaschek at physik.uni-freiburg.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110315/59dba5f5/attachment.bin>


More information about the R-help mailing list