Opened 10 years ago

Last modified 8 years ago

## #11210 new enhancement

# Wrap Maxima's residue calculation

Reported by: | kcrisman | Owned by: | burcin |
---|---|---|---|

Priority: | major | Milestone: | |

Component: | calculus | Keywords: | |

Cc: | jason, burcin, wdj | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description

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.

### Change History (2)

### comment:1 Changed 8 years ago by

### comment:2 Changed 8 years ago by

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.

**Note:**See TracTickets for help on using tickets.

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