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 P_1^{(\lambda)}(x;\phi)=2(\lambda\cos\phi + x\sin\phi)}
... is translated to the CAS output ...
Semantic latex: \MeixnerPollaczekpolyP{\lambda}{1}@{x}{\phi} = 2(\lambda \cos \phi + x \sin \phi)
Confidence: 0.89530287320794
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \MeixnerPollaczekpolyP [\MeixnerPollaczekpolyP]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- first few Meixner -- Pollaczek polynomial
Complete translation information:
{
"id" : "FORMULA_96d19b4b504f801548c69064d662043b",
"formula" : "P_1^{(\\lambda)}(x;\\phi)=2(\\lambda\\cos\\phi + x\\sin\\phi)",
"semanticFormula" : "\\MeixnerPollaczekpolyP{\\lambda}{1}@{x}{\\phi} = 2(\\lambda \\cos \\phi + x \\sin \\phi)",
"confidence" : 0.8953028732079359,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Cannot extract information from feature set: \\MeixnerPollaczekpolyP [\\MeixnerPollaczekpolyP]"
}
}
}
},
"positions" : [ {
"section" : 1,
"sentence" : 0,
"word" : 9
} ],
"includes" : [ "P_{m}^{(\\lambda)}(x;\\varphi)" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "first few Meixner -- Pollaczek polynomial",
"score" : 0.6859086196238077
} ]
}