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 z^2y^{\prime\prime} + zy^\prime +(z^2-\nu^2)y = \frac{(z-\nu)\sin(\pi \nu)}{\pi} ,}
... is translated to the CAS output ...
Semantic latex: z^2 y^{\prime\prime} + zy^\prime +(z^2 - \nu^2) y = \frac{(z - \nu) \sin(\cpi \nu)}{\cpi}
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
Description
- equation
- anger
- Weber function
Complete translation information:
{
"id" : "FORMULA_b246e587bcc0552a8be8f4119ebd0dc2",
"formula" : "z^2y^{\\prime\\prime} + zy^\\prime +(z^2-\\nu^2)y = \\frac{(z-\\nu)\\sin(\\pi \\nu)}{\\pi}",
"semanticFormula" : "z^2 y^{\\prime\\prime} + zy^\\prime +(z^2 - \\nu^2) y = \\frac{(z - \\nu) \\sin(\\cpi \\nu)}{\\cpi}",
"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" : [ {
"section" : 3,
"sentence" : 1,
"word" : 9
} ],
"includes" : [ "\\nu" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "equation",
"score" : 0.8869384888466118
}, {
"definition" : "anger",
"score" : 0.6288842031023242
}, {
"definition" : "Weber function",
"score" : 0.5816270233429564
} ]
}