LaTeX to CAS translator
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 K(n)= e^{-(n^2-1)\zeta^\prime(-1)} \cdot n^{\frac{5}{12}}\cdot(2\pi)^{(n-1)/2}\,=\, (Ae^{-\frac{1}{12}})^{n^2-1}\cdot n^{\frac{5}{12}}\cdot (2\pi)^{(n-1)/2}.}
... is translated to the CAS output ...
Semantic latex: K(n) = \expe^{-(n^2-1)\zeta^\prime(-1)} \cdot n^{\frac{5}{12}} \cdot(2 \cpi)^{(n-1)/2} =(A \expe^{-\frac{1}{12}})^{n^2-1} \cdot n^{\frac{5}{12}} \cdot(2 \cpi)^{(n-1)/2}
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
Complete translation information:
{
"id" : "FORMULA_37d5e811545d1d62b02002c883417073",
"formula" : "K(n)= e^{-(n^2-1)\\zeta^\\prime(-1)} \\cdot\nn^{\\frac{5}{12}}\\cdot(2\\pi)^{(n-1)/2}=\n(Ae^{-\\frac{1}{12}})^{n^2-1}\\cdot n^{\\frac{5}{12}}\\cdot (2\\pi)^{(n-1)/2}",
"semanticFormula" : "K(n) = \\expe^{-(n^2-1)\\zeta^\\prime(-1)} \\cdot n^{\\frac{5}{12}} \\cdot(2 \\cpi)^{(n-1)/2} =(A \\expe^{-\\frac{1}{12}})^{n^2-1} \\cdot n^{\\frac{5}{12}} \\cdot(2 \\cpi)^{(n-1)/2}",
"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" : [ "K", "\\zeta^\\prime", "\\, 2\\pi", "K(n)" ],
"isPartOf" : [ ],
"definiens" : [ ]
}