On Monday, February 16, 2015 at 8:33:49 AM UTC-8, Nils Bruin wrote: > > > f3=Piecewise([([0,1],SR(0).function(x)),([1,2],(1-x).function(x))]) >
Incidentally, the Piecewise documentation, which you can get with "Piecewise?" , has a nice shortcut form: sage: f3 = Piecewise([([0,1],SR(0)), ([1,2],1-x)], x) (unfortunately it is necessary to write "SR(0)" there) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
