Ask Your Question
0

How do I define a piecewise function?

asked 2010-09-25 15:04:52 +0100

ccanonc gravatar image

updated 2015-01-14 09:53:01 +0100

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

1 Answer

Sort by » oldest newest most voted
1

answered 2010-09-25 21:13:38 +0100

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.

Try

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

Stats

Asked: 2010-09-25 15:04:52 +0100

Seen: 687 times

Last updated: Sep 25 '10