Ask Your Question

How do I define a piecewise function?

asked 2010-09-25 08:04:52 -0500

ccanonc gravatar image

updated 2015-01-14 02:53:01 -0500

FrédéricC gravatar image
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2010-09-25 14:13:38 -0500

kcrisman gravatar image

Okay, this is actually well documented, though the actual behavior of Piecewise functions leaves a lot to be desired (as the original implementor, David Joyner, would be the first to admit) - nonetheless you can do a fair amount with them, though sometimes not with the same syntax as the rest of Sage.


sage: sage.functions.piecewise??

as well as the documentation for Piecewise and PiecewisePolynomial.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-09-25 08:04:52 -0500

Seen: 408 times

Last updated: Sep 25 '10