Re: [R] precompiled ode with spline input

2011-04-04 Thread Thomas Petzoldt
Hi Daniel, thanks for your positive response about using compiled ODE functions. Did you use package deSolve? Regarding the use of splines (as forcing functions ?) we don't have an out of the box method yet, but you may consider to approximate the splines by linear segments or contribute you

[R] precompiled ode with spline input

2011-03-15 Thread Daniel Kaschek
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