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 G_{p,q}^{\,m,n} \!\left( \left. \begin{matrix} \mathbf{a_p} \\ \mathbf{b_q} \end{matrix} \; \right| \, w z \right) = w^{b_1} \sum_{h=0}^{\infty} \frac{(1 - w)^h}{h!} \; G_{p,q}^{\,m,n} \!\left( \left. \begin{matrix} \mathbf{a_p} \\ b_1+h, b_2, \dots, b_q \end{matrix} \; \right| \, z \right), \quad m \geq 1, }
... is translated to the CAS output ...
Semantic latex: G_{p,q}^{m,n}(\left. \begin{matrix} \mathbf{a_p} \\ \mathbf{b_q} \end{matrix}|w z) = w^{b_1} \sum_{h=0}^{\infty} \frac{(1 - w)^h}{h!} G_{p,q}^{m,n}(\left. \begin{matrix} \mathbf{a_p} \\ b_1+h, b_2, \dots, b_q \end{matrix}|z) , \quad m \geq 1 ,
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence.
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence.
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence.
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Complete translation information:
{
"id" : "FORMULA_5dc71f66dc61fa7f67f7f8a22b50a85a",
"formula" : "G_{p,q}^{m,n} \\left( \\left. \\begin{matrix} \\mathbf{a_p} \\\\ \\mathbf{b_q} \\end{matrix} \\right| w z \\right) =\nw^{b_1} \\sum_{h=0}^{\\infty} \\frac{(1 - w)^h}{h!} G_{p,q}^{m,n} \\left( \\left. \\begin{matrix} \\mathbf{a_p} \\\\ b_1+h, b_2, \\dots, b_q \\end{matrix} \\right| z \\right), \\quad m \\geq 1,",
"semanticFormula" : "G_{p,q}^{m,n}(\\left. \\begin{matrix} \\mathbf{a_p} \\\\ \\mathbf{b_q} \\end{matrix}|w z) = w^{b_1} \\sum_{h=0}^{\\infty} \\frac{(1 - w)^h}{h!} G_{p,q}^{m,n}(\\left. \\begin{matrix} \\mathbf{a_p} \\\\ b_1+h, b_2, \\dots, b_q \\end{matrix}|z) , \\quad m \\geq 1 ,",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence."
}
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence."
}
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) The current implementation is wrong: Wrong translation method used. You have to specify an open bracket to translate it like a sequence."
}
},
"numericResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"wasAborted" : false,
"crashed" : false,
"testCalculationsGroups" : [ ]
},
"symbolicResults" : {
"overallResult" : "SKIPPED",
"numberOfTests" : 0,
"numberOfFailedTests" : 0,
"numberOfSuccessfulTests" : 0,
"numberOfSkippedTests" : 0,
"numberOfErrorTests" : 0,
"crashed" : false,
"testCalculationsGroup" : [ ]
}
}
},
"positions" : [ ],
"includes" : [ "q", "z", "p,q", "\\mathbf{b}_{\\mathbf{q}}", "m", "n", "h" ],
"isPartOf" : [ ],
"definiens" : [ ]
}