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 K(n)}
... is translated to the CAS output ...
Semantic latex: K(n)
Confidence: 0
Mathematica
Translation: K[n]
Information
Sub Equations
- K[n]
Free variables
- n
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
SymPy
Translation: K(n)
Information
Sub Equations
- K(n)
Free variables
- n
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Maple
Translation: K(n)
Information
Sub Equations
- K(n)
Free variables
- n
Symbol info
- Function without DLMF-Definition. We keep it like it is (but delete prefix \ if necessary).
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
- Failed to parse (unknown function "\cdotn"): {\displaystyle K(n)= e^{-(n^2-1)\zeta^\prime(-1)} \cdotn^{\frac{5}{12}}\cdot(2\pi)^{(n-1)/2}\,=\,(Ae^{-\frac{1}{12}})^{n^2-1}\cdot n^{\frac{5}{12}}\cdot (2\pi)^{(n-1)/2}}
Description
- gamma function
- multiplication formula
- g-function
- k-function
- value at integer argument
- functional equation
Complete translation information:
{
"id" : "FORMULA_ced9141ba27ce40628ba25bcb359fbd8",
"formula" : "K(n)",
"semanticFormula" : "K(n)",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "K[n]",
"translationInformation" : {
"subEquations" : [ "K[n]" ],
"freeVariables" : [ "n" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "K(n)",
"translationInformation" : {
"subEquations" : [ "K(n)" ],
"freeVariables" : [ "n" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : "K(n)",
"translationInformation" : {
"subEquations" : [ "K(n)" ],
"freeVariables" : [ "n" ],
"tokenTranslations" : {
"K" : "Function without DLMF-Definition. We keep it like it is (but delete prefix \\ if necessary)."
}
},
"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" : 6,
"sentence" : 0,
"word" : 15
} ],
"includes" : [ "K" ],
"isPartOf" : [ "G(nz)= K(n) n^{n^{2}z^{2}/2-nz} (2\\pi)^{-\\frac{n^2-n}{2}z}\\prod_{i=0}^{n-1}\\prod_{j=0}^{n-1}G\\left(z+\\frac{i+j}{n}\\right)", "G(n)=\\frac{(\\Gamma(n))^{n-1}}{K(n)}", "K(n)= e^{-(n^2-1)\\zeta^\\prime(-1)} \\cdotn^{\\frac{5}{12}}\\cdot(2\\pi)^{(n-1)/2}\\,=\\,(Ae^{-\\frac{1}{12}})^{n^2-1}\\cdot n^{\\frac{5}{12}}\\cdot (2\\pi)^{(n-1)/2}" ],
"definiens" : [ {
"definition" : "gamma function",
"score" : 0.7242260776160873
}, {
"definition" : "multiplication formula",
"score" : 0.6954080343007951
}, {
"definition" : "g-function",
"score" : 0.6288842031023242
}, {
"definition" : "k-function",
"score" : 0.3249086298701299
}, {
"definition" : "value at integer argument",
"score" : 0.23781750977975485
}, {
"definition" : "functional equation",
"score" : 0.10555931772795084
} ]
}