Opened 3 years ago

Closed 2 months ago

#21412 closed enhancement (fixed)

Convert piecewise functions to SymPy

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

Description

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

Change History (7)

comment:1 Changed 2 years ago by rws

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

comment:2 Changed 3 months ago by chapoton

  • Authors set to Frédéric Chapoton
  • Branch set to u/chapoton/21412
  • Commit set to 052bed29b2eb6d2d74c9a514b4e9d3212f9862d8
  • Status changed from new to needs_review

Here is a proposal


New commits:

052bed2convert real sets and piecewise functions to sympy

comment:3 Changed 3 months ago by chapoton

  • Milestone changed from sage-7.4 to sage-8.9

comment:4 Changed 3 months ago by git

  • Commit changed from 052bed29b2eb6d2d74c9a514b4e9d3212f9862d8 to 000edf6a29a5170291bce8e0994a4a39a62f7564

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

000edf6fix

comment:5 Changed 3 months ago by tscrim

  • Cc rws added
  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review

LGTM.

comment:6 Changed 2 months ago by chapoton

  • Milestone changed from sage-8.9 to sage-9.0

moving milestone to 9.0

comment:7 Changed 2 months ago by vbraun

  • Branch changed from u/chapoton/21412 to 000edf6a29a5170291bce8e0994a4a39a62f7564
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.