Opened 3 years ago

Closed 3 years ago

#20858 closed enhancement (wontfix)

Option to combine symbolic fractions recursively

Reported by: rws Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Fixed upstream, but not in a stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Maxima combines fractions only on the top level, not recursively:

sage: 1/x + 1/x^2 + (x+1)/x
(x + 1)/x + 1/x + 1/x^2
sage: (1/x + 1/x^2 + (x+1)/x).combine()
(x + 2)/x + 1/x^2
sage: (1/x + (1/x+1/x^2+(x+1)/x)/x^2 + (x+1)/x).combine()
(x + 2)/x + ((x + 1)/x + 1/x + 1/x^2)/x^2

Change History (3)

comment:1 Changed 3 years ago by rws

  • Milestone changed from sage-7.3 to sage-duplicate/invalid/wontfix
  • Report Upstream changed from N/A to Fixed upstream, but not in a stable release.
  • Status changed from new to needs_review

This is implemented in Pynac master. Corresponding Sage Python and doctests are in the pynac/sage github branch.

comment:2 Changed 3 years ago by rws

  • Status changed from needs_review to positive_review

comment:3 Changed 3 years ago by embray

  • Resolution set to wontfix
  • Status changed from positive_review to closed

Determined to be invalid/duplicate/wontfix (closing as "wontfix" as a catch-all resolution).

Note: See TracTickets for help on using tickets.