Reals
represents the domain of real numbers, as in x∈Reals.
Details
- x∈Reals evaluates immediately if x is a numeric quantity.
- Simplify[expr∈Reals,assum] can be used to try to determine whether an expression corresponds to a real number under the given assumptions.
- (x1x2…)∈Reals and {x1,x2,…}∈Reals test whether all xi are real numbers.
- Within Simplify and similar functions, objects that satisfy inequalities are always assumed to be real.
- Reals is output in StandardForm or TraditionalForm as . This typeset form can be input using reals.
Examples
open allclose allBasic Examples (3)
Scope (5)
Test domain membership of a numeric expression:
Make domain membership assumptions:
Specify the default domain over which a function should work:
Test whether several numbers are real numbers:
If any number is explicitly non-real, the result is False:
TraditionalForm formatting:
Text
Wolfram Research (1999), Reals, Wolfram Language function, https://reference.wolfram.com/language/ref/Reals.html (updated 2017).
CMS
Wolfram Language. 1999. "Reals." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/Reals.html.
APA
Wolfram Language. (1999). Reals. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Reals.html