Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choose one name for partial fraction decompositions #4039

Closed
jasongrout opened this issue Sep 2, 2008 · 8 comments
Closed

choose one name for partial fraction decompositions #4039

jasongrout opened this issue Sep 2, 2008 · 8 comments

Comments

@jasongrout
Copy link
Member

Two different ways to do partial fractions should have the same function name:

sage: x=polygen(QQ)
sage: f=(x - 3)/((x +1)*(x-1))
sage: f.partial_fraction_decomposition()
(0, [-1/(x - 1), 2/(x + 1)])
sage: x=var('x')
sage: f=(x - 3)/((x +1)*(x-1))
sage: f.partial_fraction()
2/(x + 1) - 1/(x - 1)

An added bonus would be if they gave similar output (currently one gives a list, the other gives an expression).

Component: algebra

Author: Frédéric Chapoton

Branch/Commit: 48de749

Reviewer: Matthias Koeppe

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

@jasongrout jasongrout added this to the sage-5.11 milestone Sep 2, 2008
@robertwb
Copy link
Contributor

comment:1

Note that there's no way to "symbolically" unevaluated sums of fraction field elements in Frac(QQ[x])

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@fchapoton
Copy link
Contributor

New commits:

48de749add the method partial_fraction_decomposition to symbolic expressions

@fchapoton
Copy link
Contributor

Commit: 48de749

@fchapoton
Copy link
Contributor

Branch: u/chapoton/4039

@fchapoton
Copy link
Contributor

Author: Frédéric Chapoton

@mkoeppe
Copy link
Member

mkoeppe commented Jun 25, 2020

comment:7

Returning the result as a FormalSum could also be nice

@mkoeppe
Copy link
Member

mkoeppe commented Jul 9, 2020

Reviewer: Matthias Koeppe

@vbraun
Copy link
Member

vbraun commented Jul 10, 2020

Changed branch from u/chapoton/4039 to 48de749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants