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 \pi }
... is translated to the CAS output ...
Semantic latex: \cpi
Confidence: 0
Mathematica
Translation: Pi
Information
Sub Equations
- Pi
Symbol info
- Pi was translated to: Pi
Tests
Symbolic
Numeric
SymPy
Translation: pi
Information
Sub Equations
- pi
Symbol info
- Pi was translated to: pi
Tests
Symbolic
Numeric
Maple
Translation: Pi
Information
Sub Equations
- Pi
Symbol info
- Pi was translated to: Pi
Tests
Symbolic
Numeric
Dependency Graph Information
Is part of
Description
- period
- periodic function by minimal period
- number
- second-order linear ordinary differential equation
- Hill equation
- equation
- mathematics
- Hill differential equation
- Fourier series
Complete translation information:
{
"id" : "FORMULA_4f08e3dba63dc6d40b22952c7a9dac6d",
"formula" : "\\pi",
"semanticFormula" : "\\cpi",
"confidence" : 0.0,
"translations" : {
"Mathematica" : {
"translation" : "Pi",
"translationInformation" : {
"subEquations" : [ "Pi" ],
"tokenTranslations" : {
"\\cpi" : "Pi was translated to: Pi"
}
},
"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" : "pi",
"translationInformation" : {
"subEquations" : [ "pi" ],
"tokenTranslations" : {
"\\cpi" : "Pi was translated to: pi"
}
},
"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" : "Pi",
"translationInformation" : {
"subEquations" : [ "Pi" ],
"tokenTranslations" : {
"\\cpi" : "Pi was translated to: Pi"
}
},
"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" : 0,
"word" : 32
}, {
"section" : 0,
"sentence" : 3,
"word" : 4
} ],
"includes" : [ ],
"isPartOf" : [ "f(t+\\pi)=f(t)", "0 < p < \\pi" ],
"definiens" : [ {
"definition" : "period",
"score" : 0.722
}, {
"definition" : "periodic function by minimal period",
"score" : 0.722
}, {
"definition" : "number",
"score" : 0.6699230544300447
}, {
"definition" : "second-order linear ordinary differential equation",
"score" : 0.6687181434333315
}, {
"definition" : "Hill equation",
"score" : 0.658417772209512
}, {
"definition" : "equation",
"score" : 0.6033992232315736
}, {
"definition" : "mathematics",
"score" : 0.5816270233429564
}, {
"definition" : "Hill differential equation",
"score" : 0.5329047619047619
}, {
"definition" : "Fourier series",
"score" : 0.4097222614381945
} ]
}