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 x = \frac{y-\mu}{\sqrt{2} \sigma} \Leftrightarrow y = \sqrt{2} \sigma x + \mu}
... is translated to the CAS output ...
Semantic latex: x = \frac{y-\mu}{\sqrt{2} \sigma} \Leftrightarrow y = \sqrt{2} \sigma x + \mu
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Unknown relation. Cannot translate: \Leftrightarrow [\Leftrightarrow]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Unknown relation. Cannot translate: \Leftrightarrow [\Leftrightarrow]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Unknown relation. Cannot translate: \Leftrightarrow [\Leftrightarrow]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- integration by substitution
- integral
- expectation
- variable
- Hermite polynomial
Complete translation information:
{
"id" : "FORMULA_e12b2c8ae811a7a0fa36df107f98f258",
"formula" : "x = \\frac{y-\\mu}{\\sqrt{2} \\sigma} \\Leftrightarrow y = \\sqrt{2} \\sigma x + \\mu",
"semanticFormula" : "x = \\frac{y-\\mu}{\\sqrt{2} \\sigma} \\Leftrightarrow y = \\sqrt{2} \\sigma x + \\mu",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Unknown relation. Cannot translate: \\Leftrightarrow [\\Leftrightarrow]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Unknown relation. Cannot translate: \\Leftrightarrow [\\Leftrightarrow]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Unknown relation. Cannot translate: \\Leftrightarrow [\\Leftrightarrow]"
}
}
}
},
"positions" : [ {
"section" : 1,
"sentence" : 1,
"word" : 28
} ],
"includes" : [ "y" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "integration by substitution",
"score" : 0.7125985104912714
}, {
"definition" : "integral",
"score" : 0.6859086196238077
}, {
"definition" : "expectation",
"score" : 0.5988174995334326
}, {
"definition" : "variable",
"score" : 0.5988174995334326
}, {
"definition" : "Hermite polynomial",
"score" : 0.5500952380952381
} ]
}