Origin Version (Select Help-->About Origin): 7.5 Operating System:XP
Hey,
I am trying to compile the following function in code builder to be used as a fitting function:
y = P1+2*(1+P2*1.865E-2*(1/(1.865E-2*P3)))^-1*((2.36)^2)*6.4899*1/x; There are 3 fitting parameters: P1, P2 and P3.
When I try to compile the function, I get the following:
compiling... _nlfspinpumpfnn.fit C:\Program Files\OriginLab\OriginPro75\Jean-Marc Beaujour\OriginC\NLSF\_nlfspinpumpfnn.fit(40) :Error, invalid term C:\Program Files\OriginLab\OriginPro75\Jean-Marc Beaujour\OriginC\NLSF\_nlfspinpumpfnn.fit(40) :Error, general compile error C:\Program Files\OriginLab\OriginPro75\Jean-Marc Beaujour\OriginC\NLSF\_nlfspinpumpfnn.fit(31) :Error, error(s) found in compiling function _nlsfspinpumpfnn
i checked the parenthesis and all the terms ... it seems to be alright. I used Mathematica to fit the experimental data and that works. So what's the problem??