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 | ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\rangle. }
... is translated to the CAS output ...
Semantic latex: | ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\rangle
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) An unknown or missing element occurred: Empty math term tag
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) An unknown or missing element occurred: Empty math term tag
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) An unknown or missing element occurred: Empty math term tag
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- notation
- technique of that article
- total angular momentum state
- total angular momentum projection quantum number
- case of the Racah W-coefficient
- matrix element
- angular momentum vector
Complete translation information:
{
"id" : "FORMULA_ca4b1f1c93226d01c0cad7b18a1f3273",
"formula" : "| ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\\rangle",
"semanticFormula" : "| ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\\rangle",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) An unknown or missing element occurred: Empty math term tag"
}
},
"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: Empty math term tag"
}
},
"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: Empty math term tag"
}
},
"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" : [ {
"section" : 1,
"sentence" : 2,
"word" : 33
} ],
"includes" : [ "j", "m_9", "m", "_{4}" ],
"isPartOf" : [ "|((j_1j_4)j_7, (j_2j_5)j_8)j_9m_9\\rangle = \\sum_{j_3}\\sum_{j_6} | ((j_1j_2)j_3, (j_4j_5)j_6)j_9m_9\\rangle \\langle ( (j_1j_2)j_3,(j_4j_5)j_6)j_9 | ((j_1 j_4)j_7,(j_2j_5)j_8)j_9\\rangle" ],
"definiens" : [ {
"definition" : "notation",
"score" : 0.6460746792928004
}, {
"definition" : "technique of that article",
"score" : 0.5988174995334326
}, {
"definition" : "total angular momentum state",
"score" : 0.5500952380952381
}, {
"definition" : "total angular momentum projection quantum number",
"score" : 0.4784564245921376
}, {
"definition" : "case of the Racah W-coefficient",
"score" : 0.44236504421594536
}, {
"definition" : "matrix element",
"score" : 0.44236504421594536
}, {
"definition" : "angular momentum vector",
"score" : 0.4364921621676916
} ]
}