This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
|
manual:chapter6:stack:cmd_ifte [2019/11/12 14:14] jojo1973 |
manual:chapter6:stack:cmd_ifte [2019/11/17 14:16] (current) jojo1973 |
<callout color="orangered" icon="fa fa-comment" title="Description"> | <callout color="orangered" icon="fa fa-comment" title="Description"> |
---- | ---- |
The ''IFTE'' function tests the object on level 3 of the stack: if the test returns ''1'' then it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''%%'%%tes the object on level 2, otherwise it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''%%'%%tes the object on level 1. | The ''IFTE'' function tests the object on level 3 of the stack: if the test returns ''1'' then it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''tes the object on level 2, otherwise it ''[[manual:chapter6:operators:cmd_ovr_xeq|XEQ]]''tes the object on level 1. |
| |
''IFTE'' can be used in symbolic expressions to define piecewise functions. | ''IFTE'' can be used in symbolic expressions to define piecewise functions. |