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 F(k;\,n,p) = \Pr\left(X \le k\right) = I_{1-p}(n-k, k+1) = 1 - I_p(k+1,n-k). }
... is translated to the CAS output ...
Semantic latex: F(k ; n , p) = \Pr(X \le k) = \normincBetaI{1-p}@{n - k}{k + 1} = 1 - \normincBetaI{p}@{k + 1}{n - k}
Confidence: 0.65134759885872
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) No translation possible for given token: No translation available for the operator \Pr [\Pr]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: No translation available for the operator \Pr [\Pr]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) No translation possible for given token: No translation available for the operator \Pr [\Pr]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_24890778cba86add444db65a2de50834",
"formula" : "F(k;n,p) = \\Pr\\left(X \\le k\\right) = I_{1-p}(n-k, k+1) = 1 - I_p(k+1,n-k)",
"semanticFormula" : "F(k ; n , p) = \\Pr(X \\le k) = \\normincBetaI{1-p}@{n - k}{k + 1} = 1 - \\normincBetaI{p}@{k + 1}{n - k}",
"confidence" : 0.651347598858723,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) No translation possible for given token: No translation available for the operator \\Pr [\\Pr]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: No translation available for the operator \\Pr [\\Pr]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) No translation possible for given token: No translation available for the operator \\Pr [\\Pr]"
}
}
}
},
"positions" : [ ],
"includes" : [ "p", "F(k;\\,n,p) = \\Pr\\left(X \\le k\\right) = I_{1-p}(n-k, k+1) = 1 - I_p(k+1,n-k)", "X", "k", "n", "F(k;\\,n,p)", "I_x(a,b)" ],
"isPartOf" : [ "F(k;\\,n,p) = \\Pr\\left(X \\le k\\right) = I_{1-p}(n-k, k+1) = 1 - I_p(k+1,n-k)" ],
"definiens" : [ ]
}