Skip to content

Compute Tab

The "Compute" page provides multiple computation engines, suitable for quick numerical / symbolic computation and LaTeX generation.

Supported Engines

  1. Python built-in engine: uses Python's built-in eval to quickly compute numerical expressions; result is plain text.
  2. Mpmath high-precision engine: customizable decimal precision, suitable for high-precision numerical computation; result is plain text.
  3. SymPy symbolic engine: symbolic computation based on SymPy; results are displayed both as LaTeX code and as plain text.
  4. LaTeX code generation engine: directly generates corresponding LaTeX code from the input Python expression.

Usage

  1. Select a computation engine.
  2. Enter an expression in the expression input box (supports $-prefixed LaTeX input).
  3. Click compute; the result area shows the output in the corresponding form.

Relationship with Formula Rendering

The output of the SymPy symbolic engine and the LaTeX generation engine is presented as described in Formula Rendering, convenient for copying and reuse.

Tips