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 q_0,}
... is translated to the CAS output ...
Semantic latex: q_0
Confidence: 0
Mathematica
Translation: Subscript[q, 0]
Information
Sub Equations
- Subscript[q, 0]
Free variables
- Subscript[q, 0]
Tests
Symbolic
Numeric
SymPy
Translation: Symbol('{q}_{0}')
Information
Sub Equations
- Symbol('{q}_{0}')
Free variables
- Symbol('{q}_{0}')
Tests
Symbolic
Numeric
Maple
Translation: q[0]
Information
Sub Equations
- q[0]
Free variables
- q[0]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Description
- limit of the Mathieu equation
- boundary condition
- ellipsoidal wave
- period
- prime meaning
- quarter period
- Lamé equation
- Müller
- expression
- expression of the Mathieu case
Complete translation information:
{
"id" : "FORMULA_2bc93f29a61194efd82beabc2b528867",
"formula" : "q_0",
"semanticFormula" : "q_0",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Subscript[q, 0]",
"translationInformation" : {
"subEquations" : [ "Subscript[q, 0]" ],
"freeVariables" : [ "Subscript[q, 0]" ]
},
"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" : "Symbol('{q}_{0}')",
"translationInformation" : {
"subEquations" : [ "Symbol('{q}_{0}')" ],
"freeVariables" : [ "Symbol('{q}_{0}')" ]
},
"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" : "q[0]",
"translationInformation" : {
"subEquations" : [ "q[0]" ],
"freeVariables" : [ "q[0]" ]
},
"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" : 2,
"sentence" : 5,
"word" : 4
} ],
"includes" : [ "q" ],
"isPartOf" : [ "q_0=1,3,5, \\ldots", "\\operatorname{Ec}^{q_0}_n, \\operatorname{Es}^{q_0+1}_n, \\operatorname{Ec}^{q_0-1}_n, \\operatorname{Es}^{q_0}_n", "q-q_0 = \\mp 2\\sqrt{\\frac{2}{\\pi}} \\left( \\frac{1+k}{1-k}\\right)^{-\\kappa/k} \\left( \\frac{8\\kappa}{1-k^2}\\right)^{q_0/2}\\frac{1}{[(q_0-1)/2]!} \\left[ 1 - \\frac{3(q^2_0+1)(1+k^2)}{2^5\\kappa} + \\cdots \\right]", "\\begin{align}\\Lambda_{\\pm}(q) \\simeq {} & \\Lambda(q_0) + (q-q_0)\\left(\\frac{\\partial \\Lambda}{\\partial q} \\right)_{q_0} + \\cdots \\\\[6pt]= {} & \\Lambda(q_0) +(q-q_0)\\kappa \\left[1 - \\frac{q_0(1+k^2)}{2^2\\kappa} - \\frac{1}{2^6\\kappa^2}\\{3(1+k^2)^2(q^2_0+1)-4k^2(q^2_0+2q_0+5)\\}+ \\cdots\\right] \\\\[6pt]\\simeq {} & \\Lambda(q_0) \\mp 2\\kappa\\sqrt{\\frac{2}{\\pi}} \\left( \\frac{1+k}{1-k} \\right)^{-\\kappa/k} \\left( \\frac{8\\kappa}{1-k^2}\\right)^{q_0/2} \\frac{1}{[(q_0-1)/2]!} \\Big[ 1 - \\frac{1}{2^5\\kappa}(1+k^2)(3q^2_0+8q_0+3) \\\\[6pt]& {} + \\frac{1}{3.2^{11}\\kappa^2}\\{3(1+k^2)^2(9q^4_0+8q^3_0-78q^2_0-88q_0-87) \\\\[6pt]& {} + 128k^2(2q^3_0+9q^2_0+10q_0+15)\\} - \\cdots\\Big].\\end{align}" ],
"definiens" : [ {
"definition" : "limit of the Mathieu equation",
"score" : 0.6629879847031728
}, {
"definition" : "boundary condition",
"score" : 0.5985227097189656
}, {
"definition" : "ellipsoidal wave",
"score" : 0.5985227097189656
}, {
"definition" : "period",
"score" : 0.5985227097189656
}, {
"definition" : "prime meaning",
"score" : 0.5985227097189656
}, {
"definition" : "quarter period",
"score" : 0.5985227097189656
}, {
"definition" : "Lamé equation",
"score" : 0.5758968646127977
}, {
"definition" : "Müller",
"score" : 0.5758968646127977
}, {
"definition" : "expression",
"score" : 0.5271746031746032
}, {
"definition" : "expression of the Mathieu case",
"score" : 0.5271746031746032
} ]
}