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 \displaystyle p_n(x;a,b;q) = {}_2\phi_1(q^{-n},abq^{n+1};aq;q,xq) }
... is translated to the CAS output ...
Semantic latex: \littleqJacobipolyp{n}@{x}{a}{b}{q} = \qgenhyperphi{2}{1}@{q^{-n} , abq^{n+1}}{aq}{q}{xq}
Confidence: 0.54217855287577
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \littleqJacobipolyp [\littleqJacobipolyp]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \littleqJacobipolyp [\littleqJacobipolyp]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \littleqJacobipolyp [\littleqJacobipolyp]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_c27f8c30d161af6edebe4f2a59ea5602",
"formula" : "p_n(x;a,b;q) = {}_2\\phi_1(q^{-n},abq^{n+1};aq;q,xq)",
"semanticFormula" : "\\littleqJacobipolyp{n}@{x}{a}{b}{q} = \\qgenhyperphi{2}{1}@{q^{-n} , abq^{n+1}}{aq}{q}{xq}",
"confidence" : 0.542178552875767,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \\littleqJacobipolyp [\\littleqJacobipolyp]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\littleqJacobipolyp [\\littleqJacobipolyp]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \\littleqJacobipolyp [\\littleqJacobipolyp]"
}
}
}
},
"positions" : [ ],
"includes" : [ "\\displaystyle p_n(x;a,b;q) = {}_2\\phi_1(q^{-n},abq^{n+1};aq;q,xq)", "q", "p_{n}(x;a,b;q)" ],
"isPartOf" : [ "\\displaystyle p_n(x;a,b;q) = {}_2\\phi_1(q^{-n},abq^{n+1};aq;q,xq)" ],
"definiens" : [ ]
}