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''-(2\alpha+1)xy'+n(n+2\alpha)y=0.\,}
... is translated to the CAS output ...
Semantic latex: (1-x^{2})y''-(2\alpha+1)xy'+n(n+2\alpha)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_7a43fe6fea5703068c4f9c3a823d13bf",
"formula" : "(1-x^{2})y''-(2\\alpha+1)xy'+n(n+2\\alpha)y=0",
"semanticFormula" : "(1-x^{2})y''-(2\\alpha+1)xy'+n(n+2\\alpha)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" : [ "\\alpha", "n", "(1-x^{2})y''-(2\\alpha+1)xy'+n(n+2\\alpha)y=0." ],
"isPartOf" : [ "(1-x^{2})y''-(2\\alpha+1)xy'+n(n+2\\alpha)y=0." ],
"definiens" : [ ]
}