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 P_0^{(\lambda)}(x;\phi)=1}

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

Semantic latex: \MeixnerPollaczekpolyP{\lambda}{0}@{x}{\phi} = 1

Confidence: 0.90419950349709

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Description

  • first few Meixner -- Pollaczek polynomial

Complete translation information:

{
  "id" : "FORMULA_91905021dede9d31dabd35794d312d85",
  "formula" : "P_0^{(\\lambda)}(x;\\phi)=1",
  "semanticFormula" : "\\MeixnerPollaczekpolyP{\\lambda}{0}@{x}{\\phi} = 1",
  "confidence" : 0.9041995034970904,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
        }
      }
    }
  },
  "positions" : [ {
    "section" : 1,
    "sentence" : 0,
    "word" : 8
  } ],
  "includes" : [ "P_{m}^{(\\lambda)}(x;\\varphi)" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "first few Meixner -- Pollaczek polynomial",
    "score" : 0.7125985104912714
  } ]
}

Specify your own input