REALVARDEF: Difference between revisions

From iMath
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
3=
3=
<code>REALVARDEF x</code> tells iMath that <code>x</code> always has a real value and therefore <code>conjugate(x) = x</code>.
<code>REALVARDEF x</code> tells iMath that <code>x</code> always has a real value and therefore <code>conjugate(x) = x</code>.
|
4=
[[POSVARDEF]]
}}
}}
[[Category:Declaration]]
[[Category:Declaration]]

Revision as of 19:33, 27 June 2017

Syntax

REALVARDEF symbol


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Defines the symbol to be real-valued. This allows iMath to evaluate some functions immediately, e.g. complex conjugation.


Example

REALVARDEF x tells iMath that x always has a real value and therefore conjugate(x) = x.

See also

POSVARDEF