POSVARDEF: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Keyword | <code>POSVARDEF symbol</code> | Defines the symbol to be positive (and real-valued). This allows iMath to evaluate some functions immediately, e.g. absolute va...") |
No edit summary |
||
Line 8: | Line 8: | ||
<code>POSVARDEF x</code> tells iMath that <code>x</code> always has a positive real value and therefore <code>abs(x) = x</code>. | <code>POSVARDEF x</code> tells iMath that <code>x</code> always has a positive real value and therefore <code>abs(x) = x</code>. | ||
}} | }} | ||
[[Category: | [[Category:Declaration]] |
Revision as of 09:28, 15 April 2017
Syntax
POSVARDEF symbol
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Defines the symbol to be positive (and real-valued). This allows iMath to evaluate some functions immediately, e.g. absolute value.
Example
POSVARDEF x
tells iMath that x
always has a positive real value and therefore abs(x) = x
.
See also
{{{4}}}