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 \frac{\sin\,x}{x} = 1 - \frac{x^2}{3!}+\frac{x^4}{5!}- \frac{x^6}{7!}+\frac{x^8}{9!}-\frac{x^{10}}{11!}+\,... }
... is translated to the CAS output ...
Semantic latex: \frac{\sinx}{x} = 1 - \frac{x^2}{3!}+\frac{x^4}{5!}- \frac{x^6}{7!}+\frac{x^8}{9!}-\frac{x^{10}}{11!}+
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \sinx [\sinx]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) Unknown LaTeX Command: Reached unknown latex-command \sinx [\sinx]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \sinx [\sinx]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_b40e20d30f5e7676d6033231bf670c28",
"formula" : "\\frac{\\sinx}{x} = 1 - \\frac{x^2}{3!}+\\frac{x^4}{5!}- \\frac{x^6}{7!}+\\frac{x^8}{9!}-\\frac{x^{10}}{11!}+",
"semanticFormula" : "\\frac{\\sinx}{x} = 1 - \\frac{x^2}{3!}+\\frac{x^4}{5!}- \\frac{x^6}{7!}+\\frac{x^8}{9!}-\\frac{x^{10}}{11!}+",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \\sinx [\\sinx]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) Unknown LaTeX Command: Reached unknown latex-command \\sinx [\\sinx]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \\sinx [\\sinx]"
}
}
}
},
"positions" : [ ],
"includes" : [ "\\frac{\\sin\\,x}{x} = 1 - \\frac{x^2}{3!}+\\frac{x^4}{5!}- \\frac{x^6}{7!}+\\frac{x^8}{9!}-\\frac{x^{10}}{11!}+\\,..", "x" ],
"isPartOf" : [ "\\frac{\\sin\\,x}{x} = 1 - \\frac{x^2}{3!}+\\frac{x^4}{5!}- \\frac{x^6}{7!}+\\frac{x^8}{9!}-\\frac{x^{10}}{11!}+\\,.." ],
"definiens" : [ ]
}