Message Boards Message Boards

0
|
3577 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Defining a piecewise function with Boole

Posted 10 years ago

How do I define a piecewise function with Boole?

POSTED BY: dgdg grgrg
f[x_] = x* Boole[x >= 0] - x*Boole[x < 0];
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract