Hi there,
I am working on symbolic functions, and I do have a lot of integration by parts to be done, in which I have to evaluate some exact derivative terms at infinity.
I am defining this function, specifying its derivative.
def deriv_F_0(self,*args,**kwds):
return -exp(2*i*args[kwds['diff_param']])/args[kwds['diff_param']]
F_0=function('F_0',nargs=1,derivative_func=deriv_F_0)
It works fine, but, I would like to add to it an option doing something like
limit_func=mylimit_F_0
to specify various asymptotic limits. Of course, the goal being that:
F_0(x).limit(x=infinity)
returns the value I specify. Any help welcome!