Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2012-06-07 08:32:23 -0500

calc314 gravatar image

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!