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 \frac{d^2f}{dz^2} + \left(\tilde{a}z^2+\tilde{b}z+\tilde{c}\right)f=0.}
... is translated to the CAS output ...
Semantic latex: \deriv [2]{f}{z} +(\tilde{a} z^2 + \tilde{b} z + \tilde{c}) f = 0
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- solution to the differential equation
- special function
- mathematics
- parabolic cylinder function
Complete translation information:
{
"id" : "FORMULA_bec6388631b20f2af14e375b13e1533f",
"formula" : "\\frac{d^2f}{dz^2} + \\left(\\tilde{a}z^2+\\tilde{b}z+\\tilde{c}\\right)f=0",
"semanticFormula" : "\\deriv [2]{f}{z} +(\\tilde{a} z^2 + \\tilde{b} z + \\tilde{c}) f = 0",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Accents are not supported."
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Accents are not supported."
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Accents are not supported."
}
}
}
},
"positions" : [ {
"section" : 0,
"sentence" : 0,
"word" : 19
} ],
"includes" : [ "z", "a" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "solution to the differential equation",
"score" : 0.722
}, {
"definition" : "special function",
"score" : 0.6859086196238077
}, {
"definition" : "mathematics",
"score" : 0.6460746792928004
}, {
"definition" : "parabolic cylinder function",
"score" : 0.6460746792928004
} ]
}