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 \mathbf{j}_2}
... is translated to the CAS output ...
Semantic latex: \mathbf{j}_2
Confidence: 0
Mathematica
Translation: Subscript[j, 2]
Information
Sub Equations
- Subscript[j, 2]
Free variables
- Subscript[j, 2]
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{j}_{2}')
Information
Sub Equations
- Symbol('{j}_{2}')
Free variables
- Symbol('{j}_{2}')
Tests
Symbolic
Numeric
Maple
Translation: j[2]
Information
Sub Equations
- j[2]
Free variables
- j[2]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- construction of simultaneous eigenfunction
- angular momenta
- coupling
- article on Clebsch -- Gordan coefficient
- notation
- technique of that article
- total angular momentum state
- angular momentum vector
Complete translation information:
{
"id" : "FORMULA_c614d99ff3094e69b3c02332eaf8e124",
"formula" : "\\mathbf{j}_2",
"semanticFormula" : "\\mathbf{j}_2",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[j, 2]",
"translationInformation" : {
"subEquations" : [ "Subscript[j, 2]" ],
"freeVariables" : [ "Subscript[j, 2]" ]
},
"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" : "Symbol('{j}_{2}')",
"translationInformation" : {
"subEquations" : [ "Symbol('{j}_{2}')" ],
"freeVariables" : [ "Symbol('{j}_{2}')" ]
},
"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" : "j[2]",
"translationInformation" : {
"subEquations" : [ "j[2]" ],
"freeVariables" : [ "j[2]" ]
},
"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" : 0,
"word" : 7
}, {
"section" : 1,
"sentence" : 2,
"word" : 23
}, {
"section" : 1,
"sentence" : 3,
"word" : 12
} ],
"includes" : [ "j" ],
"isPartOf" : [ "\\mathbf{J}=\\mathbf{j}_1+\\mathbf{j}_2" ],
"definiens" : [ {
"definition" : "construction of simultaneous eigenfunction",
"score" : 0.722
}, {
"definition" : "angular momenta",
"score" : 0.7125985104912714
}, {
"definition" : "coupling",
"score" : 0.6859086196238077
}, {
"definition" : "article on Clebsch -- Gordan coefficient",
"score" : 0.6460746792928004
}, {
"definition" : "notation",
"score" : 0.5076623336817617
}, {
"definition" : "technique of that article",
"score" : 0.4589400722435672
}, {
"definition" : "total angular momentum state",
"score" : 0.4137522597297785
}, {
"definition" : "angular momentum vector",
"score" : 0.32342519816771864
} ]
}