PIECEWISE editing improvement suggestion
|
12-13-2013, 08:46 AM
Post: #1
|
|||
|
|||
PIECEWISE editing improvement suggestion
One can define a piecewise function with the command PIECEWISE(cond1,expr1,cond2,expr2...)
(BTW, is there a limit to the number of cond and expr?). Once entered, this transforms into the usual math notation {exp if cond ... If a piecewise function is entered in the function app, and later that definition needs to be updated, say by adding a new condition, the editor does not allow that. It would be nice to be able to do so as one does with matrices. Also, the math template key provides a menu where one finds the template for piecewise at the (2,5) entry, but it offers only two conditions. Could that be made to work like the matrix template that allows for adding rows (and columns)? |
|||
12-13-2013, 03:22 PM
(This post was last modified: 12-13-2013 03:25 PM by Tim Wessman.)
Post: #2
|
|||
|
|||
RE: PIECEWISE editing improvement suggestion
Put the cursor after the if in your last definition and press [ , ] . There you go.
I'll investigate ways to make this more obvious. TW Although I work for HP, the views and opinions I post here are my own. |
|||
12-13-2013, 04:15 PM
(This post was last modified: 02-16-2020 04:30 PM by compsystems.)
Post: #3
|
|||
|
|||
RE: PIECEWISE editing improvement suggestion
sorry for my bad English
TIM >> I'll investigate ways to make this more obvious can be to place in the title bar a temp message, or create a temporary status bar "use [,] to include a new condition" Request: Please improve it in the next kernel upgrade, the following No pretty print for (x < -pi) is displayed as (-pi > x) UGLY same for x<0 Example F1(x):=PIECEWISE( X<0, PIECEWISE( X< -pi , 4*sin(X), 2*X+5 ), 5-X^2 ) [ENTER] => F1(x):=PIECEWISE( 0>x, PIECEWISE( -pi > x , 4*sin(x), 2*x+5 ), 5-x^2 ) |
|||
12-13-2013, 04:51 PM
Post: #4
|
|||
|
|||
RE: PIECEWISE editing improvement suggestion | |||
12-16-2013, 06:52 AM
Post: #5
|
|||
|
|||
RE: PIECEWISE editing improvement suggestion | |||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)