> This makes sense for compactly supported functions. > How do you do that for something like f(x) = max(1,floor(x))? >
sage: f(x)=max(1,floor(x)) sage: f(10) 1 sage: type(f) <class 'sage.calculus.calculus.CallableSymbolicExpression'> huh, there are some problems with this function, first because it always return 1 and second because it's not built with Piecewise, which is the point of the discussion. Ronan --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---