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 \begin{Bmatrix} j_1 & j_2 & j_3\\ j_4 & j_5 & j_6\\ j_7 & j_8 & j_9 \end{Bmatrix} = \begin{Bmatrix} j_1 & j_4 & j_7\\ j_2 & j_5 & j_8\\ j_3 & j_6 & j_9 \end{Bmatrix} = \begin{Bmatrix} j_9 & j_6 & j_3\\ j_8 & j_5 & j_2\\ j_7 & j_4 & j_1 \end{Bmatrix} = \begin{Bmatrix} j_7 & j_4 & j_1\\ j_9 & j_6 & j_3\\ j_8 & j_5 & j_2 \end{Bmatrix}. }
... is translated to the CAS output ...
Semantic latex: \begin{Bmatrix} j_1 & j_2 & j_3\\ j_4 & j_5 & j_6\\ j_7 & j_8 & j_9 \end{Bmatrix} = \begin{Bmatrix} j_1 & j_4 & j_7\\ j_2 & j_5 & j_8\\ j_3 & j_6 & j_9 \end{Bmatrix} = \begin{Bmatrix} j_9 & j_6 & j_3\\ j_8 & j_5 & j_2\\ j_7 & j_4 & j_1 \end{Bmatrix} = \begin{Bmatrix} j_7 & j_4 & j_1\\ j_9 & j_6 & j_3\\ j_8 & j_5 & j_2 \end{Bmatrix}
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_c2e03e5ceb1ac9554ac5905e18ca0469",
"formula" : "\\begin{Bmatrix}\n j_1 & j_2 & j_3\\\\\n j_4 & j_5 & j_6\\\\\n j_7 & j_8 & j_9\n \\end{Bmatrix}\n = \n \\begin{Bmatrix}\n j_1 & j_4 & j_7\\\\\n j_2 & j_5 & j_8\\\\\n j_3 & j_6 & j_9\n \\end{Bmatrix}\n =\n \\begin{Bmatrix}\n j_9 & j_6 & j_3\\\\\n j_8 & j_5 & j_2\\\\\n j_7 & j_4 & j_1\n \\end{Bmatrix}\n =\n \\begin{Bmatrix}\n j_7 & j_4 & j_1\\\\\n j_9 & j_6 & j_3\\\\\n j_8 & j_5 & j_2\n \\end{Bmatrix}",
"semanticFormula" : "\\begin{Bmatrix}\n j_1 & j_2 & j_3\\\\\n j_4 & j_5 & j_6\\\\\n j_7 & j_8 & j_9\n \\end{Bmatrix}\n = \n \\begin{Bmatrix}\n j_1 & j_4 & j_7\\\\\n j_2 & j_5 & j_8\\\\\n j_3 & j_6 & j_9\n \\end{Bmatrix}\n =\n \\begin{Bmatrix}\n j_9 & j_6 & j_3\\\\\n j_8 & j_5 & j_2\\\\\n j_7 & j_4 & j_1\n \\end{Bmatrix}\n =\n \\begin{Bmatrix}\n j_7 & j_4 & j_1\\\\\n j_9 & j_6 & j_3\\\\\n j_8 & j_5 & j_2\n \\end{Bmatrix}",
"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" : [ "j", "_{4}", "\\begin{Bmatrix} j_1 & j_2 & j_3\\\\ j_4 & j_5 & j_6\\\\ j_7 & j_8 & j_9 \\end{Bmatrix} = \\begin{Bmatrix} j_1 & j_4 & j_7\\\\ j_2 & j_5 & j_8\\\\ j_3 & j_6 & j_9 \\end{Bmatrix} = \\begin{Bmatrix} j_9 & j_6 & j_3\\\\ j_8 & j_5 & j_2\\\\ j_7 & j_4 & j_1 \\end{Bmatrix} = \\begin{Bmatrix} j_7 & j_4 & j_1\\\\ j_9 & j_6 & j_3\\\\ j_8 & j_5 & j_2 \\end{Bmatrix}" ],
"isPartOf" : [ "\\begin{Bmatrix} j_1 & j_2 & j_3\\\\ j_4 & j_5 & j_6\\\\ j_7 & j_8 & j_9 \\end{Bmatrix} = \\begin{Bmatrix} j_1 & j_4 & j_7\\\\ j_2 & j_5 & j_8\\\\ j_3 & j_6 & j_9 \\end{Bmatrix} = \\begin{Bmatrix} j_9 & j_6 & j_3\\\\ j_8 & j_5 & j_2\\\\ j_7 & j_4 & j_1 \\end{Bmatrix} = \\begin{Bmatrix} j_7 & j_4 & j_1\\\\ j_9 & j_6 & j_3\\\\ j_8 & j_5 & j_2 \\end{Bmatrix}" ],
"definiens" : [ ]
}