search for: myjac

Displaying 2 results from an estimated 2 matches for "myjac".

Did you mean: myfac
2008 Sep 16
2
odesolve dynload example
...rom mymod.c windres --preprocessor="gcc -E -xc -DRC_INVOKED" -I C:/PROGRA~1/R/R-27~1.2/include -i mymod_res.rc -o mymod_res.o gcc -std=gnu99 -shared -s -o mymod.dll mymod.def mymod.o mymod_res.o -LC:/PROGRA~1/R/R-27~1.2/bin -lR Cannot export myderivs: symbol not found Cannot export myjac: symbol not found Cannot export mymod: symbol not found mymod.o: In function `mymod': /home/setzer/tasks/Programming_Projects/odesolve/odesolve/inst/dynload/c /mymod.c:14: undefined reference to `GLOBAL_OFFSET_TA BLE_' mymod.o: In function `myderivs': /home/setzer/tasks/Programming_Proj...
2005 Nov 06
1
Problem defining a system of odes as a C library with lsoda
...= 0.04, k2 = 1e4, k3=3e7) my.atol <- c(1e-6, 1e-10, 1e-6) times <- c(0, 4*10^(-1:10)) print(system.time( out1 <- lsoda(c(1.0,0.0,0.0),times,"myderivs", parms, rtol=1e-4,atol=my.atol,jacfunc="myjac", dllname="mymod") ) ) ### END When I run this mymod.c compiles without any errors or warnings and the mymod.so library seems to load fine via dyn.load (the call is.loaded("mymod") returns TRUE for example). Howe...