LaTeX to CAS translator

Jump to navigation Jump to search

This mockup demonstrates the concept of TeX to Computer Algebra System (CAS) conversion.

The demo-application converts LaTeX functions which directly translate to CAS counterparts.

Functions without explicit CAS support are available for translation via a DRMF package (under development).

The following LaTeX input ...

{\displaystyle \int_{-\infty}^\infty \bigl|f(x)\bigr|^2\, w(x) \,dx < \infty,}

... is translated to the CAS output ...

Semantic latex: \int_{-\infty}^\infty |f(x)|^2 w(x) dx < \infty

Confidence: 0

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) The input LaTeX is invalid: Unable to retrieve free variables for limit expression.

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) The input LaTeX is invalid: Unable to retrieve free variables for limit expression.

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) The input LaTeX is invalid: Unable to retrieve free variables for limit expression.

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Is part of

Complete translation information:

{
  "id" : "FORMULA_d1a66ab5d28863e5b8e709205b62b66a",
  "formula" : "\\int_{-\\infty}^\\infty |f(x)|^2 w(x) dx < \\infty",
  "semanticFormula" : "\\int_{-\\infty}^\\infty |f(x)|^2 w(x) dx < \\infty",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) The input LaTeX is invalid: Unable to retrieve free variables for limit expression."
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) The input LaTeX is invalid: Unable to retrieve free variables for limit expression."
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) The input LaTeX is invalid: Unable to retrieve free variables for limit expression."
        }
      }
    }
  },
  "positions" : [ ],
  "includes" : [ "f", "\\int_{-\\infty}^\\infty \\bigl|f(x)\\bigr|^2\\, w(x) \\,dx < \\infty", "x", "w(x)" ],
  "isPartOf" : [ "\\int_{-\\infty}^\\infty \\bigl|f(x)\\bigr|^2\\, w(x) \\,dx < \\infty" ],
  "definiens" : [ ]
}

Specify your own input