#8499: improve documentation of partial_fraction_decomposition
-----------------------------------+----------------------------
Reporter: zimmerma | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: calculus | Resolution:
Keywords: | Merged in:
Authors: Paul Zimmermann | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------
Changes (by {'newvalue': u'Paul Zimmermann', 'oldvalue': ''}):
* status: new => needs_review
* author: => Paul Zimmermann
Old description:
> How can one compute a partial fraction decomposition over the
> complex numbers? Consider the following:
> {{{
> sage: x = PolynomialRing(RationalField(), 'x').gen()
> sage: r = 1 /(x^4 + 1)
> sage: r.partial_fraction_decomposition()
> (0, [1/(x^4 + 1)])
> }}}
> This is ok since we explicitely work over QQ. Now compare with:
> {{{
> sage: P.<y> = PolynomialRing(RationalField())
> sage: Qbar.<y> = QuotientRing(P, y^2+1)
> sage: x = PolynomialRing(Qbar, 'x').gen()
> sage: r = 1 /(x^4 + 1)
> sage: r.partial_fraction_decomposition()
> ---------------------------------------------------------------------------
> NotImplementedError Traceback (most recent call
> last)
> }}}
New description:
How can one compute a partial fraction decomposition over the
complex numbers? Consider the following:
{{{
sage: x = PolynomialRing(RationalField(), 'x').gen()
sage: r = 1 /(x^4 + 1)
sage: r.partial_fraction_decomposition()
(0, [1/(x^4 + 1)])
}}}
This is ok since we explicitely work over QQ. Now compare with:
{{{
sage: P.<y> = PolynomialRing(RationalField())
sage: Qbar.<y> = QuotientRing(P, y^2+1)
sage: x = PolynomialRing(Qbar, 'x').gen()
sage: r = 1 /(x^4 + 1)
sage: r.partial_fraction_decomposition()
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call
last)
}}}
'''apply''' [attachment:trac_8499.patch]
--
Comment:
I've changed the ticket summary, and attached a patch (against Sage 5.9)
which improves the documentation of {{{partial_fraction_decomposition}}}.
Paul
--
Ticket URL: <http://trac.sagemath.org/ticket/8499#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.