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 \left[{\cdot \atop \cdot}\right]}

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

Semantic latex: [{\cdot \atop \cdot}]

Confidence: 0

Mathematica

Translation:

Information

Symbol info

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

Tests

Symbolic
Numeric

SymPy

Translation:

Information

Symbol info

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

Tests

Symbolic
Numeric

Maple

Translation:

Information

Symbol info

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

Tests

Symbolic
Numeric

Dependency Graph Information

Description

  • Stirling number of the first kind
  • Blagouchine 's paper
  • Cauchy number of the second kind
  • example
  • Gregory coefficient
  • Gregory coefficient of higher order
  • Harmonic number
  • Other series
  • Pochhammer symbol

Complete translation information:

{
  "id" : "FORMULA_4148d4faead0052b568c816c1480ca16",
  "formula" : "\\left[{\\cdot \\atop \\cdot}\\right]",
  "semanticFormula" : "[{\\cdot \\atop \\cdot}]",
  "confidence" : 0.0,
  "translations" : {
    "Mathematica" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \\atop [\\atop]"
        }
      },
      "numericResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "wasAborted" : false,
        "crashed" : false,
        "testCalculationsGroups" : [ ]
      },
      "symbolicResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "crashed" : false,
        "testCalculationsGroup" : [ ]
      }
    },
    "SymPy" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> SymPy) Unknown LaTeX Command: Reached unknown latex-command \\atop [\\atop]"
        }
      },
      "numericResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "wasAborted" : false,
        "crashed" : false,
        "testCalculationsGroups" : [ ]
      },
      "symbolicResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "crashed" : false,
        "testCalculationsGroup" : [ ]
      }
    },
    "Maple" : {
      "translation" : "",
      "translationInformation" : {
        "tokenTranslations" : {
          "Error" : "(LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \\atop [\\atop]"
        }
      },
      "numericResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "wasAborted" : false,
        "crashed" : false,
        "testCalculationsGroups" : [ ]
      },
      "symbolicResults" : {
        "overallResult" : "SKIPPED",
        "numberOfTests" : 0,
        "numberOfFailedTests" : 0,
        "numberOfSuccessfulTests" : 0,
        "numberOfSkippedTests" : 0,
        "numberOfErrorTests" : 0,
        "crashed" : false,
        "testCalculationsGroup" : [ ]
      }
    }
  },
  "positions" : [ {
    "section" : 2,
    "sentence" : 3,
    "word" : 26
  } ],
  "includes" : [ ],
  "isPartOf" : [ ],
  "definiens" : [ {
    "definition" : "Stirling number of the first kind",
    "score" : 0.722
  }, {
    "definition" : "Blagouchine 's paper",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Cauchy number of the second kind",
    "score" : 0.6859086196238077
  }, {
    "definition" : "example",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Gregory coefficient",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Gregory coefficient of higher order",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Harmonic number",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Other series",
    "score" : 0.6859086196238077
  }, {
    "definition" : "Pochhammer symbol",
    "score" : 0.6859086196238077
  } ]
}

Specify your own input