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+(z-\nu)\cos(\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 +(z - \nu) \cos(\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
- Weber function
- anger
Complete translation information:
{
"id" : "FORMULA_11f0bca08b1291ddff3ab9960d887ba7",
"formula" : "z^2y^{\\prime\\prime} + zy^\\prime +(z^2-\\nu^2)y = -\\frac{z+\\nu+(z-\\nu)\\cos(\\pi \\nu)}{\\pi}",
"semanticFormula" : "z^2 y^{\\prime\\prime} + zy^\\prime +(z^2 - \\nu^2) y = - \\frac{z + \\nu +(z - \\nu) \\cos(\\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" : 18
} ],
"includes" : [ "\\nu" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "equation",
"score" : 0.8869384888466118
}, {
"definition" : "Weber function",
"score" : 0.6687181434333315
}, {
"definition" : "anger",
"score" : 0.6288842031023242
} ]
}