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 W_n(x;a,b,c,N;q) = {}_4\phi_3\left[\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\ aq&bcq&q^{-N}\\ \end{matrix};q;q\right]}
... is translated to the CAS output ...
Semantic latex: W_n(x ; a , b , c , N ; q) ={}_4 \phi_3 [\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\ aq&bcq&q^{-N}\\ \end{matrix} ; q ; q]
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_7d0a7b991cbad8bf4cc2ab55f3797b9c",
"formula" : "W_n(x;a,b,c,N;q) = {}_4\\phi_3\\left[\\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\\\\naq&bcq&q^{-N}\\\\ \\end{matrix};q;q\\right]",
"semanticFormula" : "W_n(x ; a , b , c , N ; q) ={}_4 \\phi_3 [\\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\\\\naq&bcq&q^{-N}\\\\ \\end{matrix} ; q ; q]",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix"
}
},
"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) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix"
}
},
"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) An unknown or missing element occurred: Reached unknown or not yet supported expression tag: matrix"
}
},
"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" : [ "W_n(x;a,b,c,N;q) = {}_4\\phi_3\\left[\\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\\\aq&bcq&q^{-N}\\\\ \\end{matrix};q;q\\right]" ],
"isPartOf" : [ "W_n(x;a,b,c,N;q) = {}_4\\phi_3\\left[\\begin{matrix} q^{-n} &abq^{n+1}&q^{-x}&cq^{x-n}\\\\aq&bcq&q^{-N}\\\\ \\end{matrix};q;q\\right]" ],
"definiens" : [ ]
}