FreakingGenius - v0.1.0
    Preparing search index...

    Parses a token sequence from SymbolRecognition into an expression tree.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Evaluates a MathExpression tree to a numeric result where possible (i.e. when no unbound variables are present).

      Parameters

      • expression: MathExpression

        The expression to evaluate.

      • OptionalvariableBindings: Record<string, number>

        Optional map of variable name → value.

      Returns number | null

      The numeric result, or null if the expression contains unbound variables or is structurally unevaluable.