Displaying 1 result from an estimated 1 matches for "planckw".
Did you mean:
planck
2012 Jan 20
1
Calling Windows DLL using .C; function name not known but in exports.
...ode's function argument list contains only double pointers
(double *x). The function is declared void, the output value is one of
the arguments.
C calling sequence is used.
When inspecting the exports of the DLL with dumpbin I can see that the
function I need is exported under the name 'planckwR'.
Loading the DLL with dyn.load(dllpath). Works fine. getLoadedDLLs()
shows info on the 'Planck.dll' that I made. So far so good.
Made a function i R like this:
Planckw<-function(Temp) {
wavelength<-0.0
.C('planckwR',as.double(Temp),as.double(wavelength))...