LaTeX to CAS translator
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 {\partial^nH_a \over \partial a^n} = (-1)^n\pi^{-1} \operatorname{P.V.} \int_{-\infty}^\infty \frac{x^{2n}e^{-ax^2}}{y-x} \, dx }
... is translated to the CAS output ...
Semantic latex: {\partial^n \HeavisideH@{x}_a \over \partial a^n} =(- 1)^n \cpi^{-1} \operatorname{P.V.} \int_{-\infty}^\infty \frac{x^{2n} \expe^{-ax^2}}{y-x} \diff{x}
Confidence: 0.46998272498685
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: No translation available for the operator \partial [\partial]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: No translation available for the operator \partial [\partial]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: No translation available for the operator \partial [\partial]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_16808d411cdb1046c3fc80996c37d222",
"formula" : "{\\partial^n H_a \\over \\partial a^n} = (-1)^n\\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n}e^{-ax^2}}{y-x} dx",
"semanticFormula" : "{\\partial^n \\HeavisideH@{x}_a \\over \\partial a^n} =(- 1)^n \\cpi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n} \\expe^{-ax^2}}{y-x} \\diff{x}",
"confidence" : 0.4699827249868469,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: No translation available for the operator \\partial [\\partial]"
}
},
"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) No translation possible for given token: No translation available for the operator \\partial [\\partial]"
}
},
"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) No translation possible for given token: No translation available for the operator \\partial [\\partial]"
}
},
"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" : [ "H_n", "y", "n", "x", "{\\partial^nH_a \\over \\partial a^n} = (-1)^n\\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n}e^{-ax^2}}{y-x} \\, dx" ],
"isPartOf" : [ "{\\partial^nH_a \\over \\partial a^n} = (-1)^n\\pi^{-1} \\operatorname{P.V.} \\int_{-\\infty}^\\infty \\frac{x^{2n}e^{-ax^2}}{y-x} \\, dx" ],
"definiens" : [ ]
}