WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »

"MathExpression" (Interpreter Type)

Mathematical expression in natural language.

Details

Allowed Forms

  • Any free-form mathematical expression.

Restriction Specifications

Interpretation

  • "MathExpression" yields a representation of the expression in the Wolfram Language.

Examples

Basic Examples  (7)

Interpret mathematical expressions:

The expression is evaluated:

Restrict to a list of 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:

Specify contexts for the allowed and output symbols:

Prevent the creation of any new symbol:

See Also

Interpreter   SemanticImport   Restricted   Failure

Interpreter Types: HeldMathExpression   InactiveMathExpression   MathFormula   Expression   WolframLanguageSymbol   HeldMathFormula   InactiveMathFormula   HeldExpression   InactiveExpression   SemanticExpression   HeldSemanticExpression   InactiveSemanticExpression   ComputedWolframLanguageSymbol

History

Introduced in 2014 (10.0)

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /