Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
tskisiu
Posted - 12/16/2010 : 11:02:05 AM Origin Ver. and Service Release (Select Help-->About Origin): 8.1SR3 Operating System: WinXP
I would be very grateful if someone could help me with the following problem: I am fitting :
my function has three fitting parameters: R, L, I0 the code is as follows: #pragma warning(error : 15618) #include <origin.h> #include <oc_nag8.h> struct user { double R, L, fitX; }; static double NAG_CALL f_callback(double alfa, Nag_User *comm) { struct user *sp = (struct user *)(comm->p); double R_2,L_2, fitX, Rdependent, Ldependent,cylinder;
I am using integrator d01sjc to integrate f_callback over all alpha range, and it works very well. Now, I would like to introduce function w(L) so that the total fitting expression is:
How should I do it? I would be grateful for any suggestions, but a code example would be best.