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 q_0=1,3,5, \ldots}
... is translated to the CAS output ...
Semantic latex: q_0=1,3,5, \ldots
Confidence: 0
Mathematica
Translation: Subscript[q, 0] == 1 3 , 5 , \[Ellipsis]
Information
Free variables
- Subscript[q, 0]
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{q}_{0}') == 1 3 , 5 , null
Information
Free variables
- Symbol('{q}_{0}')
Tests
Symbolic
Numeric
Maple
Translation: q[0] = 1; 3 , 5 , ..
Information
Free variables
- q[0]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- boundary condition
- ellipsoidal wave
- period
- prime meaning
- quarter period
Complete translation information:
{
"id" : "FORMULA_da6f4e5289d37cd4dd373498da01380f",
"formula" : "q_0=1,3,5, \\ldots",
"semanticFormula" : "q_0=1,3,5, \\ldots",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[q, 0] == 1\n 3 , 5 , \\[Ellipsis]",
"translationInformation" : {
"freeVariables" : [ "Subscript[q, 0]" ]
},
"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('{q}_{0}') == 1\n 3 , 5 , null",
"translationInformation" : {
"freeVariables" : [ "Symbol('{q}_{0}')" ]
},
"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" : "q[0] = 1; 3 , 5 , ..",
"translationInformation" : {
"freeVariables" : [ "q[0]" ]
},
"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" : 2,
"sentence" : 3,
"word" : 46
} ],
"includes" : [ "q", "q_0" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "boundary condition",
"score" : 0.6687181434333315
}, {
"definition" : "ellipsoidal wave",
"score" : 0.6687181434333315
}, {
"definition" : "period",
"score" : 0.6687181434333315
}, {
"definition" : "prime meaning",
"score" : 0.6687181434333315
}, {
"definition" : "quarter period",
"score" : 0.6687181434333315
} ]
}