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 \mathrm{ber}(x) / e^{x/\sqrt{2}}}
... is translated to the CAS output ...
Semantic latex: \mathrm{ber}(x) / \expe^{x/\sqrt{2}}
Confidence: 0
Mathematica
Translation: ber[x]/Exp[x/(Sqrt[2])]
Information
Sub Equations
- ber[x]/Exp[x/(Sqrt[2])]
Free variables
- x
Symbol info
- Recognizes e with power as the exponential function. It was translated as a function.
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
SymPy
Translation: ber(x)/exp(x/(sqrt(2)))
Information
Sub Equations
- ber(x)/exp(x/(sqrt(2)))
Free variables
- x
Symbol info
- Recognizes e with power as the exponential function. It was translated as a function.
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Maple
Translation: ber(x)/exp(x/(sqrt(2)))
Information
Sub Equations
- ber(x)/exp(x/(sqrt(2)))
Free variables
- x
Symbol info
- Recognizes e with power as the exponential function. It was translated as a function.
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Complete translation information:
{
"id" : "FORMULA_0027acfd0c7490167b612c4b8b787509",
"formula" : "\\mathrm{ber}(x) / e^{x/\\sqrt{2}}",
"semanticFormula" : "\\mathrm{ber}(x) / \\expe^{x/\\sqrt{2}}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "ber[x]/Exp[x/(Sqrt[2])]",
"translationInformation" : {
"subEquations" : [ "ber[x]/Exp[x/(Sqrt[2])]" ],
"freeVariables" : [ "x" ],
"tokenTranslations" : {
"\\expe" : "Recognizes e with power as the exponential function. It was translated as a function.",
"ber" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "ber(x)/exp(x/(sqrt(2)))",
"translationInformation" : {
"subEquations" : [ "ber(x)/exp(x/(sqrt(2)))" ],
"freeVariables" : [ "x" ],
"tokenTranslations" : {
"\\expe" : "Recognizes e with power as the exponential function. It was translated as a function.",
"ber" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "ber(x)/exp(x/(sqrt(2)))",
"translationInformation" : {
"subEquations" : [ "ber(x)/exp(x/(sqrt(2)))" ],
"freeVariables" : [ "x" ],
"tokenTranslations" : {
"\\expe" : "Recognizes e with power as the exponential function. It was translated as a function.",
"ber" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : [ "x)", "x" ],
"isPartOf" : [ ],
"definiens" : [ ]
}