On 02/12/2012 01:33 AM, John H Palmieri wrote:
On Saturday, February 11, 2012 8:39:32 PM UTC-8, Michael Orlitzky wrote: I've started this: http://wiki.sagemath.org/PiecewiseSymbolicSEP <http://wiki.sagemath.org/PiecewiseSymbolicSEP> It's basically a brain dump at this point, but I can go back and clean up specific ideas now with less overhead. I've also added a link and a few paragraphs to the GSoC proposal. Would it also be possible and worthwhile to implement periodic functions at the same time? That is, you could define a function on some interval [a,b] (or [a,b) or ...) and declare it to be periodic with period b-a, for instance.
Assuming we get piecewise right, it *sounds* easy to do. I've added it to the SEP as a feature that could be built on top of piecewise.
One goal would be to define the piecewise functions based on predicates, so we could have e.g. a periodic(f, interval, period) constructor that converts your interval/period to a predicate and returns the corresponding piecewise function.
I can see it getting hairy if we try to generalize periodic functions, too, but period/interval are easy enough to work with.
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org