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 \pi^{1/2}H(y) = e^{-y^2} \operatorname{Im} \int_0^\infty dk \, \exp[-(k/2-iy)^2] }
... is translated to the CAS output ...
Semantic latex: \cpi^{1/2} \HeavisideH@{y} = \expe^{-y^2} \imagpart \int_0^\infty \diff{k} \exp [-(k / 2 - \iunit y)^2]
Confidence: 0.52589992733497
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) The input LaTeX is invalid: Limited expression in the end are illegal!
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \HeavisideH [\HeavisideH]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) The input LaTeX is invalid: Limited expression in the end are illegal!
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_b12d32e5bca401c877cce5de44034c38",
"formula" : "\\pi^{1/2}H(y) = e^{-y^2} \\operatorname{Im} \\int_0^\\infty dk \\exp[-(k/2-iy)^2]",
"semanticFormula" : "\\cpi^{1/2} \\HeavisideH@{y} = \\expe^{-y^2} \\imagpart \\int_0^\\infty \\diff{k} \\exp [-(k / 2 - \\iunit y)^2]",
"confidence" : 0.5258999273349684,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) The input LaTeX is invalid: Limited expression in the end are illegal!"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\HeavisideH [\\HeavisideH]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) The input LaTeX is invalid: Limited expression in the end are illegal!"
}
}
}
},
"positions" : [ ],
"includes" : [ "H(y)", "y", "k", "\\pi^{1/2}H(y) = e^{-y^2} \\operatorname{Im} \\int_0^\\infty dk \\, \\exp[-(k/2-iy)^2]", "\\pi^{1/2}" ],
"isPartOf" : [ "\\pi^{1/2}H(y) = e^{-y^2} \\operatorname{Im} \\int_0^\\infty dk \\, \\exp[-(k/2-iy)^2]" ],
"definiens" : [ ]
}