"InactiveMathFormula" (Interpreter Type)
Mathematical formula in natural language.
Details
- "InactiveMathFormula" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "InactiveMathFormula" requires connectivity to the Wolfram Cloud.
- "InactiveMathFormula" keeps its result unevaluated by wrapping it in Inactivate.
Restriction Specifications
-
Restricted["InactiveMathFormula",{{choice1,…}}] one among choices Restricted["InactiveMathFormula",symbols] a formula involving only the given symbols (All, Automatic, or an explicit list) Restricted["InactiveMathFormula",symbols,contexts] a formula involving only the given symbols or symbols in the given contexts (All, Automatic, or an explicit list) Restricted["InactiveMathFormula",symbols,contexts,resultcontext] a formula involving only the given symbols or symbols in the given contexts, where the new symbols are created in resultcontext
Interpretation
- "InactiveMathFormula" yields an Inactive representation of the formula in the Wolfram Language, usually with an Equal, Greater, GreaterEqual, Less, or LessEqual head.
Examples
Basic Examples (7)
Interpret mathematical formulas:
Find out Wolfram Language representations of natural language queries:
No evaluation is attempted when matching the choices:
By default, all symbols are allowed. Restrict to a list of allowed symbols:
By default, new symbols are created in $Context, but a custom context can be specified: