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 (1-x^2)\,y'' -2xy' + \left[\lambda(\lambda+1) - \frac{\mu^2}{1-x^2}\right]\,y = 0,\,}
... is translated to the CAS output ...
Semantic latex: (1 - x^2) y ' ' - 2 xy ' + [\lambda(\lambda + 1) - \frac{\mu^2}{1-x^2}] y = 0
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places.
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places.
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places.
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_abb51e08d0e272f97a92f0f4f381a9b6",
"formula" : "(1-x^2)y'' -2xy' + \\left[\\lambda(\\lambda+1) - \\frac{\\mu^2}{1-x^2}\\right]y = 0",
"semanticFormula" : "(1 - x^2) y ' ' - 2 xy ' + [\\lambda(\\lambda + 1) - \\frac{\\mu^2}{1-x^2}] y = 0",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places."
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places."
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) The input LaTeX is invalid: Primes can only be translated behind semantic macros (differentiation primes) but not in other places."
}
}
}
},
"positions" : [ ],
"includes" : [ "\\lambda", "\\mu", "(1-x^2)\\,y'' -2xy' + \\left[\\lambda(\\lambda+1) - \\frac{\\mu^2}{1-x^2}\\right]\\,y = 0," ],
"isPartOf" : [ "(1-x^2)\\,y'' -2xy' + \\left[\\lambda(\\lambda+1) - \\frac{\\mu^2}{1-x^2}\\right]\\,y = 0," ],
"definiens" : [ ]
}