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 \hat w_n^{(c)}(s,a,b)=w_n^{(c)}(s,a,b)\sqrt{\frac{\rho(s)}{d_n^2}[\Delta x(s-\frac{1}{2})]}}
... is translated to the CAS output ...
Semantic latex: \hat w_n^{(c)}(s,a,b)=w_n^{(c)}(s,a,b)\sqrt{\frac{\rho(s)}{d_n^2}[\Delta x(s-\frac{1}{2})]}
Confidence: 0
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: Accents are not supported.
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Description
- Dual Hahn Polynomial
- result
- numerical stability
- polynomial
Complete translation information:
{
"id" : "FORMULA_416073457b8e83650e251a208c403e6a",
"formula" : "\\hat w_n^{(c)}(s,a,b)=w_n^{(c)}(s,a,b)\\sqrt{\\frac{\\rho(s)}{d_n^2}[\\Delta x(s-\\frac{1}{2})]}",
"semanticFormula" : "\\hat w_n^{(c)}(s,a,b)=w_n^{(c)}(s,a,b)\\sqrt{\\frac{\\rho(s)}{d_n^2}[\\Delta x(s-\\frac{1}{2})]}",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: Accents are not supported."
}
},
"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: Accents are not supported."
}
},
"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" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: Accents are not supported."
}
},
"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" : 1,
"word" : 23
} ],
"includes" : [ "n" ],
"isPartOf" : [ ],
"definiens" : [ {
"definition" : "Dual Hahn Polynomial",
"score" : 0.7125985104912714
}, {
"definition" : "result",
"score" : 0.6460746792928004
}, {
"definition" : "numerical stability",
"score" : 0.5988174995334326
}, {
"definition" : "polynomial",
"score" : 0.5500952380952381
} ]
}