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 \operatorname{Ec}}
... is translated to the CAS output ...
Semantic latex: \operatorname{Ec}
Confidence: 0
Mathematica
Translation: E*c
Information
Sub Equations
- E*c
Free variables
- E
- c
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
SymPy
Translation: E*c
Information
Sub Equations
- E*c
Free variables
- E
- c
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
Maple
Translation: E*c
Information
Sub Equations
- E*c
Free variables
- E
- c
Symbol info
- Was interpreted as a function call because of a leading \operatorname.
Tests
Symbolic
Numeric
Dependency Graph Information
Is part of
Description
- solution
- upper sign
- boundary condition
- ellipsoidal wave
- period
- prime meaning
- quarter period
Complete translation information:
{
"id" : "FORMULA_fce19421994c492295fa55e83cc9d758",
"formula" : "\\operatorname{Ec}",
"semanticFormula" : "\\operatorname{Ec}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "E*c",
"translationInformation" : {
"subEquations" : [ "E*c" ],
"freeVariables" : [ "E", "c" ],
"tokenTranslations" : {
"Ec" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : "E*c",
"translationInformation" : {
"subEquations" : [ "E*c" ],
"freeVariables" : [ "E", "c" ],
"tokenTranslations" : {
"Ec" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : "E*c",
"translationInformation" : {
"subEquations" : [ "E*c" ],
"freeVariables" : [ "E", "c" ],
"tokenTranslations" : {
"Ec" : "Was interpreted as a function call because of a leading \\operatorname."
}
},
"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" : 4,
"word" : 8
} ],
"includes" : [ ],
"isPartOf" : [ "\\operatorname{Ec}(2K) = \\operatorname{Ec}(0) = 0,\\;\\; \\operatorname{Es}(2K) = \\operatorname{Es}(0) = 0", "(\\operatorname{Ec})^'_{2K} = (\\operatorname{Ec})^'_0 = 0, \\;\\; (\\operatorname{Es})^'_{2K} = (\\operatorname{Es})^'_0 = 0", "\\operatorname{Ec}^{q_0}_n, \\operatorname{Es}^{q_0+1}_n, \\operatorname{Ec}^{q_0-1}_n, \\operatorname{Es}^{q_0}_n" ],
"definiens" : [ {
"definition" : "solution",
"score" : 0.8869384888466118
}, {
"definition" : "upper sign",
"score" : 0.6687181434333315
}, {
"definition" : "boundary condition",
"score" : 0.6432331635625809
}, {
"definition" : "ellipsoidal wave",
"score" : 0.6432331635625809
}, {
"definition" : "period",
"score" : 0.6432331635625809
}, {
"definition" : "prime meaning",
"score" : 0.6432331635625809
}, {
"definition" : "quarter period",
"score" : 0.6432331635625809
} ]
}