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 B\weierp(x) = - \kappa^2 \operatorname{sn}^2x }

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

Semantic latex: B \weierp(x) = - \kappa^2 \Jacobiellsnk@@{x}{k}^2

Confidence: 0.6807195398746

Mathematica

Translation:

Information

Symbol info

  • (LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \weierp [\weierp]

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

  • (LaTeX -> SymPy) Unknown LaTeX Command: Reached unknown latex-command \weierp [\weierp]

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

  • (LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \weierp [\weierp]

Tests

Symbolic
Numeric

Dependency Graph Information

Includes

Description

  • elliptic sine function
  • case
  • elliptic modulus
  • integer
  • meromorphic function
  • solution
  • whole complex plane
  • important case

Complete translation information:

{
  "id" : "FORMULA_f8195a621f6016d1df8e5c04af188731",
  "formula" : "B\\weierp(x) = - \\kappa^2 \\operatorname{sn}^2x",
  "semanticFormula" : "B \\weierp(x) = - \\kappa^2 \\Jacobiellsnk@@{x}{k}^2",
  "confidence" : 0.6807195398746027,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \\weierp [\\weierp]"
        }
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) Unknown LaTeX Command: Reached unknown latex-command \\weierp [\\weierp]"
        }
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \\weierp [\\weierp]"
        }
      }
    }
  },
  "positions" : [ {
    "section" : 1,
    "sentence" : 1,
    "word" : 6
  } ],
  "includes" : [ "B", "\\operatorname{sn}", "\\kappa" ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "elliptic sine function",
    "score" : 0.7125985104912714
  }, {
    "definition" : "case",
    "score" : 0.6859086196238077
  }, {
    "definition" : "elliptic modulus",
    "score" : 0.6859086196238077
  }, {
    "definition" : "integer",
    "score" : 0.6859086196238077
  }, {
    "definition" : "meromorphic function",
    "score" : 0.6859086196238077
  }, {
    "definition" : "solution",
    "score" : 0.6859086196238077
  }, {
    "definition" : "whole complex plane",
    "score" : 0.6859086196238077
  }, {
    "definition" : "important case",
    "score" : 0.6460746792928004
  } ]
}

Specify your own input