Opened 6 years ago

Closed 3 years ago

#21412 closed enhancement (fixed)

Convert piecewise functions to SymPy

Reported by: Ralf Stephan Owned by:
Priority: major Milestone: sage-9.0
Component: interfaces Keywords:
Cc: Ralf Stephan Merged in:
Authors: Frédéric Chapoton Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: 000edf6 (Commits, GitHub, GitLab) Commit: 000edf6a29a5170291bce8e0994a4a39a62f7564
Dependencies: Stopgaps:

Status badges


The SymPy version of piecewise is an ordered list of conditions. To convert our interval-based piecewise functions a dedicated algorithm inside symbolic/ is needed.

Change History (7)

comment:1 Changed 5 years ago by Ralf Stephan

In #23923 the conversion of the formal piecewise function cases is implemented.

comment:2 Changed 3 years ago by Frédéric Chapoton

Authors: Frédéric Chapoton
Branch: u/chapoton/21412
Commit: 052bed29b2eb6d2d74c9a514b4e9d3212f9862d8
Status: newneeds_review

Here is a proposal

New commits:

052bed2convert real sets and piecewise functions to sympy

comment:3 Changed 3 years ago by Frédéric Chapoton

Milestone: sage-7.4sage-8.9

comment:4 Changed 3 years ago by git

Commit: 052bed29b2eb6d2d74c9a514b4e9d3212f9862d8000edf6a29a5170291bce8e0994a4a39a62f7564

Branch pushed to git repo; I updated commit sha1. New commits:


comment:5 Changed 3 years ago by Travis Scrimshaw

Cc: Ralf Stephan added
Reviewers: Travis Scrimshaw
Status: needs_reviewpositive_review


comment:6 Changed 3 years ago by Frédéric Chapoton

Milestone: sage-8.9sage-9.0

moving milestone to 9.0

comment:7 Changed 3 years ago by Volker Braun

Branch: u/chapoton/21412000edf6a29a5170291bce8e0994a4a39a62f7564
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.