Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
1

partial fraction decomposition function for multivariate rational expressions

asked 13 years ago

araichev gravatar image

Hi all:

I'd like to extend Sage's partial fraction decomposition function in the QuotientField class to a function that works on quotients of multivariate polynomials. To this end, i've found it convenient to store a rational expression F=P/(Qe11Qemm) as a Python list of the form [P,[Q_1,e_1],...,[Q_m,e_m]], where Q1,,Qm are the irreducible factors of F's denominator. Let's call these special kinds of lists 'widgets'. I have several auxiliary functions that manipulate widgets.

Code design questions for you. Should i make a new class for widgets, and if so, where in the Sage tree of modules should i put this class? If not, where do i put the auxiliary functions that manipulate widgets?

Thanks for your attention.

Alex

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 13 years ago

niles gravatar image

Great!

My two cents: Yes, you should create a new class; and I would put it somewhere with the other multivariate polynomial modules. Once you have a reviewer for the ticket, they can tell you whether there's a good reason to put it somewhere else.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 2,122 times

Last updated: Nov 14 '11