Re: [sage-devel] Re: Piecewise affine functions

2018-10-19 Thread Matthias Koeppe
Ticket (for piecewise linear functions, polyhedral domains) at https://trac.sagemath.org/ticket/26512 On Friday, October 19, 2018 at 4:00:53 AM UTC-5, Dima Pasechnik wrote: > > On Fri, Oct 19, 2018 at 4:08 AM Matthias Koeppe > > wrote: > > > > Xavier, > > > > For code for piecewise linear f

Re: [sage-devel] Re: Piecewise affine functions

2018-10-19 Thread Michael Orlitzky
On 10/19/2018 06:20 AM, Samuel Lelievre wrote: > Thanks Xavier for bringing this up. > > Piecewise-defined functions do need work in Sage. > > Related tickets and discussions: > >   ... > I can add to that list (the SEP is probably outdated now): https://wiki.sagemath.org/SEP/PiecewiseSymbo

[sage-devel] Re: Piecewise affine functions

2018-10-19 Thread Samuel Lelievre
Thanks Xavier for bringing this up. Piecewise-defined functions do need work in Sage. Related tickets and discussions: https://trac.sagemath.org/query?order=id&desc=1&summary=~piecewise https://trac.sagemath.org/wiki/symbolics#limitationsofPiecewisefunctions https://groups.google.com/foru

Re: [sage-devel] Re: Piecewise affine functions

2018-10-19 Thread Vincent Delecroix
Matthias, Xavier, Having piecwise affine function of [0,1] would be cool for implementing the Thomson group! For higher dimensional functions it is much more subtle (a 1-dim polytope is just an interval). Though, I am +1 on having in mind that this has to be extended to more variables. Best Vin

Re: [sage-devel] Re: Piecewise affine functions

2018-10-19 Thread Dima Pasechnik
On Fri, Oct 19, 2018 at 4:08 AM Matthias Koeppe wrote: > > Xavier, > > For code for piecewise linear functions of several variables, see here: > https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/piecewise_functions.sage > I'd be quite interested in getting something like this into