This shows you the differences between two versions of the page.
|
Next revision
Both sides next revision
|
manual:chapter6:stack:cmd_ifte [2019/11/03 07:19] jojo1973 created |
manual:chapter6:stack:cmd_ifte [2019/11/05 01:05] jojo1973 |
The ''IFTE'' function tests the object on level 3 of the stack: if it is [[manual:chapter6:operators:cmd_ovr_istrue|true]] 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 it is [[manual:chapter6:operators:cmd_ovr_istrue|true]] 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 function ''IFTE'' can be used in symbolic expressions to define piecewise functions. | ''IFTE'' can be used in symbolic expressions to define piecewise functions. |
</callout> | </callout> |
| |