Message Boards Message Boards

GROUPS:

What does True mean in Piecewise[ ] output?

Posted 1 month ago
260 Views
|
1 Reply
|
1 Total Likes
|

Hello, I'm trying to set up these two piecewise functions pictured below. enter image description here

However, I'm not quite sure why the third value says true instead of the inequalities. Is this correct or does something need changing?

Hello! As I understand, this is WL notation for "everywhere else" / "where not specified". For example, one can use it in boundary conditions of PDEs, e.g., NeumannValue[0, True], which means something like "zero flux everywhere on the boundary".

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