sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.43k stars 479 forks source link

Wrap Maxima's residue calculation #11210

Open kcrisman opened 13 years ago

kcrisman commented 13 years ago

I can't believe we haven't done this before, nor that someone hasn't requested it. See this ask.sagemath post.

sage: f(x)=1/x
sage: f.maxima_methods().residue(x,0)
1
f(x)=1/(x^2+1)
f.maxima_methods().residue(x,i)
-1/2*I

This should be a little easier to do than that.

CC: @jasongrout @burcin @wdjoyner

Component: calculus

Issue created by migration from https://trac.sagemath.org/ticket/11210

kcrisman commented 12 years ago
comment:1

Apparently Sympy also has this. See for example this answer to an ask.sagemath.org question by achrzesz.

kcrisman commented 12 years ago
comment:2

Also, when we do this, we should probably point out the bug that apparently is in Maxima there. I don't see a point in making a ticket for that until we actually wrap it, though.