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 \;_1\psi_1 \left[\begin{matrix} a \\ b \end{matrix} ; q,z \right] = \sum_{n=-\infty}^\infty \frac {(a;q)_n} {(b;q)_n} z^n = \frac {(b/a,q,q/az,az;q)_\infty } {(b,b/az,q/a,z;q)_\infty} }
... is translated to the CAS output ...
Semantic latex: _1 \psi_1 [\begin{matrix} a \\ b \end{matrix} ; q , z] = \sum_{n=-\infty}^\infty \frac {(a;q)_n} {(b;q)_n} z^n = \frac {(b/a,q,q/az,az;q)_\infty } {(b,b/az,q/a,z;q)_\infty}
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_16c5abbdcefe2b61f61a4c44a8f5954b",
"formula" : "_1\\psi_1 \\left[\\begin{matrix} a \\\\ b \\end{matrix} ; q,z \\right] \n= \\sum_{n=-\\infty}^\\infty \\frac {(a;q)_n} {(b;q)_n} z^n\n= \\frac {(b/a,q,q/az,az;q)_\\infty }\n{(b,b/az,q/a,z;q)_\\infty}",
"semanticFormula" : "_1 \\psi_1 [\\begin{matrix} a \\\\ b \\end{matrix} ; q , z] = \\sum_{n=-\\infty}^\\infty \\frac {(a;q)_n} {(b;q)_n} z^n = \\frac {(b/a,q,q/az,az;q)_\\infty }\n{(b,b/az,q/a,z;q)_\\infty}",
"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" : [ "a", "b", "z", "\\psi", "x_{n}", "n", "\\;_1\\psi_1 \\left[\\begin{matrix} a \\\\ b \\end{matrix} ; q,z \\right] = \\sum_{n=-\\infty}^\\infty \\frac {(a;q)_n} {(b;q)_n} z^n= \\frac {(b/a,q,q/az,az;q)_\\infty }{(b,b/az,q/a,z;q)_\\infty}", "q^{n}", "q" ],
"isPartOf" : [ "\\;_1\\psi_1 \\left[\\begin{matrix} a \\\\ b \\end{matrix} ; q,z \\right] = \\sum_{n=-\\infty}^\\infty \\frac {(a;q)_n} {(b;q)_n} z^n= \\frac {(b/a,q,q/az,az;q)_\\infty }{(b,b/az,q/a,z;q)_\\infty}" ],
"definiens" : [ ]
}