View Full Version : imsl_d_int_fcn and imsl_d_int_fcn_smooth

05-19-2010, 11:48 AM

I am having a problem running imsl_d_int_fcn_smooth with the callback option, that is by supplying the optional argument IMSL_FCN_W_DATA,
followed by the user function and followed by the void * data pointer.

The funny thing is that my example will run fine with the function imsl_d_int_fcn.

In other words, my call to
imsl_d_int_fcn(0, dLb, dUb, IMSL_FCN_W_DATA, cbFcn, pvData, 0)
succeeds, while my call to
imsl_d_int_fcn_smooth(0, dLb, dUb, IMSL_FCN_W_DATA, cbFcn, pvData, 0)
does not.

My suspicion is that there is either something wrong with my code that happens to be working in imsl_d_int_fcn, but not imsl_d_int_fcn_smooth
or there is something wrong with the callback mechanism in imsl_d_int_fcn_smooth.

I want to ask you first. Is there a known issue with this function? I am
using IMSL7 by the way.

What do you recommend I do?


05-19-2010, 02:07 PM
It sounds like you're encountering some issues getting started with the fcn_w_data argument. You might get better and quicker replies getting in touch directly with technical support at support@houston.vni.com.

05-20-2010, 07:05 AM
Hi Ed,

right, I just don't think that there is anything wrong with what I do, since the call is simle enough and works for int_fcn. OK, I will write to them.