Paul Rombouts
unread,Aug 15, 2010, 11:37:10 AM8/15/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Hi,
I can integrate the function exp(-x^2) to get the error function like
this:
sage: F=integral(exp(-x^2),x); F
1/2*sqrt(pi)*erf(x)
But when I try to differentiate the answer, sage does not seem to know
the derivative of erf:
sage: F.diff(x)
1/2*sqrt(pi)*D[0](erf)(x)
I am assuming that the support for the erf function is still a work in
progress, but is there a workaround I can use in the mean time, like
defining the derivative of erf myself?