REALVARDEF: Difference between revisions

From iMath
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
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]][[Category:Definition]]

Latest revision as of 17:48, 21 September 2018

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