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 \sum_{n=0}^{\infty}t^n P_n^{(\lambda)}(x;\phi) = (1-e^{i\phi}t)^{-\lambda+ix}(1-e^{-i\phi}t)^{-\lambda-ix}.}
... is translated to the CAS output ...
Semantic latex: \sum_{n=0}^{\infty} t^n \MeixnerPollaczekpolyP{\lambda}{n}@{x}{\phi} =(1 - \expe^{\iunit \phi} t)^{- \lambda + \iunit x}(1 - \expe^{- \iunit \phi} t)^{- \lambda - \iunit x}
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
- function
- Meixner -- Pollaczek polynomial
Complete translation information:
{
"id" : "FORMULA_d7d2b3c03307ae8a38408cb798830d18",
"formula" : "\\sum_{n=0}^{\\infty}t^n P_n^{(\\lambda)}(x;\\phi) = (1-e^{i\\phi}t)^{-\\lambda+ix}(1-e^{-i\\phi}t)^{-\\lambda-ix}",
"semanticFormula" : "\\sum_{n=0}^{\\infty} t^n \\MeixnerPollaczekpolyP{\\lambda}{n}@{x}{\\phi} =(1 - \\expe^{\\iunit \\phi} t)^{- \\lambda + \\iunit x}(1 - \\expe^{- \\iunit \\phi} t)^{- \\lambda - \\iunit x}",
"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" : 5,
"sentence" : 0,
"word" : 9
} ],
"includes" : [ "P_{m}^{(\\lambda)}(x;\\varphi)" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "function",
"score" : 0.722
}, {
"definition" : "Meixner -- Pollaczek polynomial",
"score" : 0.6859086196238077
} ]
}