Open mkoeppe opened 8 years ago
Description changed:
---
+++
@@ -1,6 +1,9 @@
This meta-ticket will implement piecewise functions of several real variables.
-The pieces are polyhedral complexes (not necessarily triangulations).
+The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and `PointConfiguration`.
+- #20878: PointConfiguration: Add plot method
+- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra
+
Description changed:
---
+++
@@ -4,6 +4,6 @@
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and `PointConfiguration`.
-- #20878: PointConfiguration: Add plot method
-- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra
+- #20878: `PointConfiguration`: Add `plot` method
+- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
Description changed:
---
+++
@@ -7,3 +7,8 @@
- #20878: `PointConfiguration`: Add `plot` method
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
+Piecewise functions of 1 variable and `RealSet`s:
+- #1773: piecewise functions and integration / arithmetic do not play well together
+- #8603: Partial sums are off for Fourier series of piecewise functions
+- #11225: improve piecewise plotting
+
Description changed:
---
+++
@@ -11,4 +11,4 @@
- #1773: piecewise functions and integration / arithmetic do not play well together
- #8603: Partial sums are off for Fourier series of piecewise functions
- #11225: improve piecewise plotting
-
+- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
Description changed:
---
+++
@@ -6,9 +6,11 @@
- #20878: `PointConfiguration`: Add `plot` method
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
+- #20892: package polymake 3.0
Piecewise functions of 1 variable and `RealSet`s:
- #1773: piecewise functions and integration / arithmetic do not play well together
- #8603: Partial sums are off for Fourier series of piecewise functions
- #11225: improve piecewise plotting
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
+- #6895: Detect discontinuities when plotting the ceil function
Description changed:
---
+++
@@ -14,3 +14,4 @@
- #11225: improve piecewise plotting
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
- #6895: Detect discontinuities when plotting the ceil function
+- #10597: Riemann sums, added trapezoid option
Description changed:
---
+++
@@ -7,6 +7,7 @@
- #20878: `PointConfiguration`: Add `plot` method
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
- #20892: package polymake 3.0
+- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
Piecewise functions of 1 variable and `RealSet`s:
- #1773: piecewise functions and integration / arithmetic do not play well together
Description changed:
---
+++
@@ -16,3 +16,4 @@
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
- #6895: Detect discontinuities when plotting the ceil function
- #10597: Riemann sums, added trapezoid option
+- #9935: Make a symbolic mod function
Description changed:
---
+++
@@ -17,3 +17,4 @@
- #6895: Detect discontinuities when plotting the ceil function
- #10597: Riemann sums, added trapezoid option
- #9935: Make a symbolic mod function
+- #21215: Periodic piecewise functions
Description changed:
---
+++
@@ -17,4 +17,5 @@
- #6895: Detect discontinuities when plotting the ceil function
- #10597: Riemann sums, added trapezoid option
- #9935: Make a symbolic mod function
+- #21232: Fractional part function {x}
- #21215: Periodic piecewise functions
Description changed:
---
+++
@@ -9,11 +9,16 @@
- #20892: package polymake 3.0
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
-Piecewise functions of 1 variable and `RealSet`s:
+`RealSet`s:
+- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
+- #21249: RealSets fail their TestSuite: _test_category, _test_pickling
+- #21242: Allow initializing RealSet from RealInterval or RBF elements
+- #21243: RealSet: add closure and interior methods
+
+Piecewise functions of 1 variable:
- #1773: piecewise functions and integration / arithmetic do not play well together
- #8603: Partial sums are off for Fourier series of piecewise functions
- #11225: improve piecewise plotting
-- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
- #6895: Detect discontinuities when plotting the ceil function
- #10597: Riemann sums, added trapezoid option
- #9935: Make a symbolic mod function
Description changed:
---
+++
@@ -8,6 +8,7 @@
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
- #20892: package polymake 3.0
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
+- #10777: Implement CombinatorialPolyhedron
`RealSet`s:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
Description changed:
---
+++
@@ -24,4 +24,5 @@
- #10597: Riemann sums, added trapezoid option
- #9935: Make a symbolic mod function
- #21232: Fractional part function {x}
+- #21274: frac(x) immediate simplifications
- #21215: Periodic piecewise functions
Description changed:
---
+++
@@ -8,13 +8,14 @@
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
- #20892: package polymake 3.0
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
-- #10777: Implement CombinatorialPolyhedron
+- #10777: Implement `CombinatorialPolyhedron`
`RealSet`s:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
-- #21249: RealSets fail their TestSuite: _test_category, _test_pickling
-- #21242: Allow initializing RealSet from RealInterval or RBF elements
-- #21243: RealSet: add closure and interior methods
+- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
+- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements
+- #21243: `RealSet`: add `closure` and `interior` methods
+- #21277: `sage_input` for `RealSet` and `piecewise`
Piecewise functions of 1 variable:
- #1773: piecewise functions and integration / arithmetic do not play well together
Description changed:
---
+++
@@ -13,7 +13,7 @@
`RealSet`s:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
-- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements
+- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
- #21243: `RealSet`: add `closure` and `interior` methods
- #21277: `sage_input` for `RealSet` and `piecewise`
Description changed:
---
+++
@@ -9,6 +9,7 @@
- #20892: package polymake 3.0
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
- #10777: Implement `CombinatorialPolyhedron`
+- #18197: Add CGAL package
`RealSet`s:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
Description changed:
---
+++
@@ -28,3 +28,4 @@
- #21232: Fractional part function {x}
- #21274: frac(x) immediate simplifications
- #21215: Periodic piecewise functions
+- #21412: Convert piecewise functions to SymPy
Description changed:
---
+++
@@ -1,4 +1,26 @@
-This meta-ticket will implement piecewise functions of several real variables.
+This is a meta-ticket about piecewise functions.
+
+Piecewise functions of 1 variable:
+- #1773: piecewise functions and integration / arithmetic do not play well together
+- #8603: Partial sums are off for Fourier series of piecewise functions
+- #11225: improve piecewise plotting
+- #6895: Detect discontinuities when plotting the ceil function
+- #10597: Riemann sums, added trapezoid option
+- #9935: Make a symbolic mod function
+- #21232: Fractional part function {x}
+- #21274: frac(x) immediate simplifications
+- #21215: Periodic piecewise functions
+- #21412: Convert piecewise functions to SymPy
+- #21618: plot in piecewise regression (?)
+
+`RealSet`s, underlying the current implementation of `piecewise`:
+- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
+- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
+- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
+- #21243: `RealSet`: add `closure` and `interior` methods
+- #21277: `sage_input` for `RealSet` and `piecewise`
+
+As a generalization, this meta-ticket will implement piecewise functions of several real variables.
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
@@ -11,21 +33,4 @@
- #10777: Implement `CombinatorialPolyhedron`
- #18197: Add CGAL package
-`RealSet`s:
-- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
-- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
-- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
-- #21243: `RealSet`: add `closure` and `interior` methods
-- #21277: `sage_input` for `RealSet` and `piecewise`
-Piecewise functions of 1 variable:
-- #1773: piecewise functions and integration / arithmetic do not play well together
-- #8603: Partial sums are off for Fourier series of piecewise functions
-- #11225: improve piecewise plotting
-- #6895: Detect discontinuities when plotting the ceil function
-- #10597: Riemann sums, added trapezoid option
-- #9935: Make a symbolic mod function
-- #21232: Fractional part function {x}
-- #21274: frac(x) immediate simplifications
-- #21215: Periodic piecewise functions
-- #21412: Convert piecewise functions to SymPy
Description changed:
---
+++
@@ -12,6 +12,7 @@
- #21215: Periodic piecewise functions
- #21412: Convert piecewise functions to SymPy
- #21618: plot in piecewise regression (?)
+- #21709: Categories for piecewise functions
`RealSet`s, underlying the current implementation of `piecewise`:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
Description changed:
---
+++
@@ -1,4 +1,11 @@
This is a meta-ticket about piecewise functions.
+
+Fractional part, modulo, ...:
+- #9935: Make a symbolic mod function
+- #21232: Fractional part function {x}
+- #21274: frac(x) immediate simplifications
+- #21745: Standardize modulo operator % on real numbers (step 1)
+- #21747: Standardize modulo operator % on real numbers (step 2)
Piecewise functions of 1 variable:
- #1773: piecewise functions and integration / arithmetic do not play well together
@@ -6,9 +13,6 @@
- #11225: improve piecewise plotting
- #6895: Detect discontinuities when plotting the ceil function
- #10597: Riemann sums, added trapezoid option
-- #9935: Make a symbolic mod function
-- #21232: Fractional part function {x}
-- #21274: frac(x) immediate simplifications
- #21215: Periodic piecewise functions
- #21412: Convert piecewise functions to SymPy
- #21618: plot in piecewise regression (?)
Description changed:
---
+++
@@ -6,6 +6,7 @@
- #21274: frac(x) immediate simplifications
- #21745: Standardize modulo operator % on real numbers (step 1)
- #21747: Standardize modulo operator % on real numbers (step 2)
+- #21748: change the mod method of rationals
Piecewise functions of 1 variable:
- #1773: piecewise functions and integration / arithmetic do not play well together
Description changed:
---
+++
@@ -34,7 +34,8 @@
- #20878: `PointConfiguration`: Add `plot` method
- #20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
-- #20892: package polymake 3.0
+- #22710: Meta-ticket: polymake
+- #24943: Interface to polymake's polyhedral complexes
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
- #10777: Implement `CombinatorialPolyhedron`
- #18197: Add CGAL package
Description changed:
---
+++
@@ -40,4 +40,10 @@
- #10777: Implement `CombinatorialPolyhedron`
- #18197: Add CGAL package
+General piecewise functions:
+- #23923: Interface cases function with `SymPy`'s piecewise
+- #20191: implement `SymPy` `Piecewise` equivalent
+- #21412: Convert piecewise functions to `SymPy`
+
+
Description changed:
---
+++
@@ -30,6 +30,8 @@
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
+- #26512 Piecewise linear functions of several variables
+
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and `PointConfiguration`.
- #20878: `PointConfiguration`: Add `plot` method
Description changed:
---
+++
@@ -25,6 +25,7 @@
- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
- #21243: `RealSet`: add `closure` and `interior` methods
- #21277: `sage_input` for `RealSet` and `piecewise`
+- #30832: Connect `RealSet` to `sage.manifolds`
As a generalization, this meta-ticket will implement piecewise functions of several real variables.
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.
Description changed:
---
+++
@@ -31,6 +31,7 @@
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
+- #31748 PolyhedralComplex
- #26512 Piecewise linear functions of several variables
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and `PointConfiguration`.
Description changed:
---
+++
@@ -26,6 +26,7 @@
- #21243: `RealSet`: add `closure` and `interior` methods
- #21277: `sage_input` for `RealSet` and `piecewise`
- #30832: Connect `RealSet` to `sage.manifolds`
+- #31740: Meta-ticket: Families, posets, complexes of manifold subsets
As a generalization, this meta-ticket will implement piecewise functions of several real variables.
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
Description changed:
---
+++
@@ -22,17 +22,19 @@
`RealSet`s, underlying the current implementation of `piecewise`:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
+- #21277: `sage_input` for `RealSet` and `piecewise`
+- #21243: `RealSet`: add methods `closure`, `interior`, `boundary`, `is_open`, `is_closed`
+- #31927: `RealSet`: Replace `is_included_in` by `is_subset` / `issubset`
+- #31914: `RealSet.contains`: Handle symbolic argument
+- #31877: Refine category of `RealSet`
+- **#31740: Meta-ticket: Families, posets, complexes of manifold subsets**
- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
-- #21243: `RealSet`: add `closure` and `interior` methods
-- #21277: `sage_input` for `RealSet` and `piecewise`
-- #30832: Connect `RealSet` to `sage.manifolds`
-- #31740: Meta-ticket: Families, posets, complexes of manifold subsets
As a generalization, this meta-ticket will implement piecewise functions of several real variables.
The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face).
In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
-- #31748 PolyhedralComplex
+- #31748 `PolyhedralComplex`
- #26512 Piecewise linear functions of several variables
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and `PointConfiguration`.
Description changed:
---
+++
@@ -25,6 +25,7 @@
- #21277: `sage_input` for `RealSet` and `piecewise`
- #21243: `RealSet`: add methods `closure`, `interior`, `boundary`, `is_open`, `is_closed`
- #31927: `RealSet`: Replace `is_included_in` by `is_subset` / `issubset`
+- #31930: Replace `UnionOfIntervals` by `RealSet`
- #31914: `RealSet.contains`: Handle symbolic argument
- #31877: Refine category of `RealSet`
- **#31740: Meta-ticket: Families, posets, complexes of manifold subsets**
Description changed:
---
+++
@@ -24,6 +24,7 @@
- #21249: `RealSet`s fail their `TestSuite`: `_test_category`, `_test_pickling`
- #21277: `sage_input` for `RealSet` and `piecewise`
- #21243: `RealSet`: add methods `closure`, `interior`, `boundary`, `is_open`, `is_closed`
+- #31941: Make empty `RealSet` false
- #31927: `RealSet`: Replace `is_included_in` by `is_subset` / `issubset`
- #31930: Replace `UnionOfIntervals` by `RealSet`
- #31914: `RealSet.contains`: Handle symbolic argument
I'm interested in implementing piecewise affine functions in one variable with specific methods that are easier to implement in this setting (e.g. compose
, is_bijective
, inverse
, is_convex
, convex_hull
, laplace_transform
, etc.) Mostly, I'm interested in the case where the coefficients of the affine parts are in QQ
but I might also want to consider the case where they are in a fixed number field.
I'm wondering whether I should derive from the class sage.functions.piecewise.PiecewiseFunction
(which is mostly concerned with symbolic expressions) or if it is okay if I rewrite my own class from scratch.
I have code in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py, based on the old Sage implementation of piecewise
, which may be a starting point. It is not tied to symbolics and uses the parent-element framework
Replying to @mkoeppe:
I have code in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py, based on the old Sage implementation of
piecewise
, which may be a starting point. It is not tied to symbolics and uses the parent-element framework
That's great! Do you plan to propose this code for integration in sage at some point or not?
Description changed:
---
+++
@@ -29,6 +29,7 @@
- #31930: Replace `UnionOfIntervals` by `RealSet`
- #31914: `RealSet.contains`: Handle symbolic argument
- #31877: Refine category of `RealSet`
+- #32181: `RealSet`: Faster operations by scan-line (merging) techniques
- **#31740: Meta-ticket: Families, posets, complexes of manifold subsets**
- #21242: Allow initializing `RealSet` from `RealInterval` or `RBF` elements (dup: #17791)
@@ -46,7 +47,9 @@
- #22710: Meta-ticket: polymake
- #24943: Interface to polymake's polyhedral complexes
- #21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
-- #10777: Implement `CombinatorialPolyhedron`
+- #26887: Implement `CombinatorialPolyhedron`
+- #27063: Transition of combinatorial computations of Polyhedron to Combinatorial Type
+- #31842: `CombinatorialPolyhedralComplex`
- #18197: Add CGAL package
General piecewise functions:
Replying to @xcaruso:
Replying to @mkoeppe:
I have code in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py, based on the old Sage implementation of
piecewise
, which may be a starting point. It is not tied to symbolics and uses the parent-element frameworkThat's great! Do you plan to propose this code for integration in sage at some point or not?
I'm familiar with the piecewise linear function code in the above github folder, and I'd love to have that integrated into sage. This has been on my wishlist for a few years, but the integration has never happened, partially because I don't have a clear view on where this new class should be derived from and what methods are useful to general users.
Besides the class hierarchy, I think that the main modification concerns changing the use of close or open or half-open intervals defined in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/intervals.py to RealSet
.
Replying to @yuan-zhou:
Besides the class hierarchy, I think that the main modification concerns changing the use of close or open or half-open intervals defined in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/intervals.py to
RealSet
.
Yes, that's an important task. Related: #32181
Right, I notice that #32181 is related, and I added it into the description of this meta-ticket in comment:43. Replying to @mkoeppe:
Replying to @yuan-zhou:
Besides the class hierarchy, I think that the main modification concerns changing the use of close or open or half-open intervals defined in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/intervals.py to
RealSet
.Yes, that's an important task. Related: #32181
Regarding the class hierarchy, class PiecewiseLinearFunction_1d (ModuleElement)
https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py#L17 for the element is already good, I think. The corresponding parent is https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py#L1221
There are many details so that it works correctly with all operations provided by the category.
If this is added to Sage, it would be best to put it somewhere that's not sage.functions
because this package concerns symbolic functions.
If the scope remains piecewise linear functions (or even piecewise polynomial functions where the pieces are polyhedra such as box splines or simplex splines), then somewhere in sage.geometry
would make sense because of its close ties to https://doc.sagemath.org/html/en/reference/discrete_geometry/sage/geometry/polyhedral_complex.html
Another connection: both indicator_function
and convex_indicator_function
(proposed to add in #32201) of polyhedra are, of course, piecewise linear functions.
Description changed:
---
+++
@@ -18,6 +18,8 @@
- #21412: Convert piecewise functions to SymPy
- #21618: plot in piecewise regression (?)
- #21709: Categories for piecewise functions
+- #34456: piecewise polynomial in one dimension
+
`RealSet`s, underlying the current implementation of `piecewise`:
- #16063: Unify the classes `RealSet` and `UnionOfIntervals`
This is a meta-ticket about piecewise functions.
Fractional part, modulo, ...:
9935: Make a symbolic mod function
21232: Fractional part function {x}
21274: frac(x) immediate simplifications
21745: Standardize modulo operator % on real numbers (step 1)
21747: Standardize modulo operator % on real numbers (step 2)
21748: change the mod method of rationals
Piecewise functions of 1 variable:
1773: piecewise functions and integration / arithmetic do not play well together
8603: Partial sums are off for Fourier series of piecewise functions
11225: improve piecewise plotting
6895: Detect discontinuities when plotting the ceil function
10597: Riemann sums, added trapezoid option
21215: Periodic piecewise functions
21412: Convert piecewise functions to SymPy
21618: plot in piecewise regression (?)
21709: Categories for piecewise functions
34456: piecewise polynomial in one dimension
RealSet
s, underlying the current implementation ofpiecewise
:16063: Unify the classes
RealSet
andUnionOfIntervals
21249:
RealSet
s fail theirTestSuite
:_test_category
,_test_pickling
21277:
sage_input
forRealSet
andpiecewise
21243:
RealSet
: add methodsclosure
,interior
,boundary
,is_open
,is_closed
31941: Make empty
RealSet
false31927:
RealSet
: Replaceis_included_in
byis_subset
/issubset
31930: Replace
UnionOfIntervals
byRealSet
31914:
RealSet.contains
: Handle symbolic argument31877: Refine category of
RealSet
32181:
RealSet
: Faster operations by scan-line (merging) techniques21242: Allow initializing
RealSet
fromRealInterval
orRBF
elements (dup: #17791)As a generalization, this meta-ticket will implement piecewise functions of several real variables. The pieces are polyhedral complexes (not necessarily triangulations) or more generally polyhedral dissections (i.e., not necessarily face-to-face). In my application, the functions will be piecewise linear, possibly discontinuous; but the implementation should be general enough for splines.
31748
PolyhedralComplex
26512 Piecewise linear functions of several variables
Discussion welcome, in particular in regard to how this code should interact with the existing classes for abstract complexes (CW complexes) and
PointConfiguration
.20878:
PointConfiguration
: Addplot
method20879: Expose PPL's Not-Necessarily-Closed Polyhedra using Sage Polyhedra -- could play the same role as half-open intervals do in the context of the new piecewise functions.
22710: Meta-ticket: polymake
24943: Interface to polymake's polyhedral complexes
21151: Update TOPCOM to 0.17.7, disable outdated libsoplex support
26887: Implement
CombinatorialPolyhedron
27063: Transition of combinatorial computations of Polyhedron to Combinatorial Type
31842:
CombinatorialPolyhedralComplex
18197: Add CGAL package
General piecewise functions:
23923: Interface cases function with
SymPy
's piecewise20191: implement
SymPy
Piecewise
equivalent21412: Convert piecewise functions to
SymPy
CC: @tscrim @rwst @vbraun @videlec @jhpalmieri @kcrisman @paulmasson @sagetrac-tmonteil @mo271 @jplab @yuan-zhou
Component: geometry
Keywords: piecewise
Issue created by migration from https://trac.sagemath.org/ticket/20877