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 W_{\kappa,\mu}(z)}
... is translated to the CAS output ...
Semantic latex: \WhittakerconfhyperW{\kappa}{\mu}@{z}
Confidence: 0.89310818131292
Mathematica
Translation: WhittakerW[\[Kappa], \[Mu], z]
Information
Sub Equations
- WhittakerW[\[Kappa], \[Mu], z]
Free variables
- \[Kappa]
- \[Mu]
- z
Symbol info
- Whittaker confluent hypergeometric function; Example: \WhittakerconfhyperW{\kappa}{\mu}@{z}
Will be translated to: WhittakerW[$0, $1, $2] Relevant links to definitions: DLMF: http://dlmf.nist.gov/13.14#E3 Mathematica: https://reference.wolfram.com/language/ref/WhittakerW.html
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \WhittakerconfhyperW [\WhittakerconfhyperW]
Tests
Symbolic
Numeric
Maple
Translation: WhittakerW(kappa, mu, z)
Information
Sub Equations
- WhittakerW(kappa, mu, z)
Free variables
- kappa
- mu
- z
Symbol info
- Whittaker confluent hypergeometric function; Example: \WhittakerconfhyperW{\kappa}{\mu}@{z}
Will be translated to: WhittakerW($0, $1, $2) Relevant links to definitions: DLMF: http://dlmf.nist.gov/13.14#E3 Maple: https://www.maplesoft.com/support/help/maple/view.aspx?path=WhittakerW
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- function
- Whittaker function
- other word
- solution
- term of Kummer 's confluent hypergeometric function
- opposite value
- Whittaker
Complete translation information:
{
"id" : "FORMULA_8822c700c8a7f14639601e15af738080",
"formula" : "W_{\\kappa,\\mu}(z)",
"semanticFormula" : "\\WhittakerconfhyperW{\\kappa}{\\mu}@{z}",
"confidence" : 0.8931081813129245,
"translations" : {
"Mathematica" : {
"translation" : "WhittakerW[\\[Kappa], \\[Mu], z]",
"translationInformation" : {
"subEquations" : [ "WhittakerW[\\[Kappa], \\[Mu], z]" ],
"freeVariables" : [ "\\[Kappa]", "\\[Mu]", "z" ],
"tokenTranslations" : {
"\\WhittakerconfhyperW" : "Whittaker confluent hypergeometric function; Example: \\WhittakerconfhyperW{\\kappa}{\\mu}@{z}\nWill be translated to: WhittakerW[$0, $1, $2]\nRelevant links to definitions:\nDLMF: http://dlmf.nist.gov/13.14#E3\nMathematica: https://reference.wolfram.com/language/ref/WhittakerW.html"
}
},
"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: Cannot extract information from feature set: \\WhittakerconfhyperW [\\WhittakerconfhyperW]"
}
},
"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" : "WhittakerW(kappa, mu, z)",
"translationInformation" : {
"subEquations" : [ "WhittakerW(kappa, mu, z)" ],
"freeVariables" : [ "kappa", "mu", "z" ],
"tokenTranslations" : {
"\\WhittakerconfhyperW" : "Whittaker confluent hypergeometric function; Example: \\WhittakerconfhyperW{\\kappa}{\\mu}@{z}\nWill be translated to: WhittakerW($0, $1, $2)\nRelevant links to definitions:\nDLMF: http://dlmf.nist.gov/13.14#E3\nMaple: https://www.maplesoft.com/support/help/maple/view.aspx?path=WhittakerW"
}
},
"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" : [ {
"section" : 0,
"sentence" : 5,
"word" : 5
} ],
"includes" : [ "M_{\\kappa,\\mu}(z)", "\\mu", "\\kappa", "z" ],
"isPartOf" : [ "M_{\\kappa,\\mu}\\left(z\\right) = \\exp\\left(-z/2\\right)z^{\\mu+\\tfrac{1}{2}}M\\left(\\mu-\\kappa+\\tfrac{1}{2}, 1+2\\mu, z\\right)", "M_{\\kappa,\\mu}(z)", "W_{\\kappa,\\mu}\\left(z\\right) = \\exp\\left(-z/2\\right)z^{\\mu+\\tfrac{1}{2}}U\\left(\\mu-\\kappa+\\tfrac{1}{2}, 1+2\\mu, z\\right)", "M_{\\kappa,\\mu}(z),W_{\\kappa,\\mu}(z)" ],
"definiens" : [ {
"definition" : "function",
"score" : 0.7244849196070415
}, {
"definition" : "Whittaker function",
"score" : 0.6793245439387732
}, {
"definition" : "other word",
"score" : 0.6687181434333315
}, {
"definition" : "solution",
"score" : 0.6432331635625809
}, {
"definition" : "term of Kummer 's confluent hypergeometric function",
"score" : 0.6432331635625809
}, {
"definition" : "opposite value",
"score" : 0.6288842031023242
}, {
"definition" : "Whittaker",
"score" : 0.6288842031023242
} ]
}