Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

what type of object is a function defined with the piecewise command?

I understand that in Sage, there are three function-like things: functions, expressions, and python functions. How do you classify functions defined with the piecewise command?

Functions defined with the piecewise command seem to be a separate class. When I use the parent() command on a piecewise function, Sage says it is an "instance." Can you help me understand what that means? Thanks!