TO SUPPORT MY WORK, ORDER A COMMERCIAL LICENSE
THANK YOU!
mXparser provides a rich collection of built-in math functions, math expressions, and math symbols. Familiarize yourself with the scope and the syntax. Math collection internal help is also available directly from the software – see the tutorial and the API documentation for all the details.
Tutorial Math Collection API spec Download
mXparser – built-in Binary Functions
Keyword | Type | Syntax | Since | Description |
---|---|---|---|---|
log | Binary function | log(a, b) | 1.0 | Logarithm – Binary function |
mod | Binary function | mod(a, b) | 1.0 | Modulo – Binary function |
C | Binary function | C(n, k) | 1.0 | Binomial coefficient, number of k-combinations that can be drawn from n-elements set – Binary function |
nCk | Binary function | nCk(n, k) | 4.2 | Binomial coefficient, number of k-combinations that can be drawn from n-elements set – Binary function |
Bern | Binary function | Bern(m, n) | 1.0 | Bernoulli numbers – Binary function |
Stirl1 | Binary function | Stirl1(n, k) | 1.0 | Stirling numbers of the first kind – Binary function |
Stirl2 | Binary function | Stirl2(n, k) | 1.0 | Stirling numbers of the second kind – Binary function |
Worp | Binary function | Worp(n, k) | 1.0 | Worpitzky number – Binary function |
Euler | Binary function | Euler(n, k) | 1.0 | Euler number – Binary function |
KDelta | Binary function | KDelta(i, j) | 1.0 | Kronecker delta – Binary function |
EulerPol | Binary function | EulerPol(m, x) | 1.0 | Euler polynomial – Binary function |
Harm | Binary function | Harm(x, n) | 1.0 | Harmonic number – Binary function |
rUni | Binary function | rUni(a, b) | 3.0 | Random variable – Uniform continuous distribution U(a,b) – Binary function |
rUnid | Binary function | rUnid(a, b) | 3.0 | Random variable – Uniform discrete distribution U{a,b} – Binary function |
round | Binary function | round(x, n) | 3.0 | Half-up rounding – Binary function |
rNor | Binary function | rNor(mean, stdv) | 3.0 | Random variable – Normal distribution N(μ,σ) – Binary function |
ndig | Binary function | ndig(number, base) | 4.1 | Number of digits representing the number in numeral system with given base – Binary function |
dig10 | Binary function | dig10(num, pos) | 4.1 | Digit at position 1 … n (left -> right) or 0 … -(n-1) (right -> left) – base 10 numeral system – Binary function |
factval | Binary function | factval(number, factorid) | 4.1 | Prime decomposition – factor value at position between 1 … nfact(n) – ascending order by factor value – Binary function |
factexp | Binary function | factexp(number, factorid) | 4.1 | Prime decomposition – factor exponent / multiplicity at position between 1 … nfact(n) – ascending order by factor value – Binary function |
root | Binary function | root(rootorder, number) | 4.1 | N-th order root of a number – Binary function |
GammaL | Binary function | GammaL(s, x) | 4.2 | Lower incomplete gamma – Special function γ(s,x) – Binary function |
GammaU | Binary function | GammaU(s, x) | 4.2 | Upper incomplete Gamma – Special function Γ(s,x) – Binary function |
GammaP | Binary function | GammaP(s, x) | 4.2 | Lower regularized P gamma – Special function P(s,x) – Binary function |
GammaRegL | Binary function | GammaRegL(s, x) | 4.2 | Lower regularized P gamma – Special function P(s,x) – Binary function |
GammaQ | Binary function | GammaQ(s, x) | 4.2 | Upper regularized Q Gamma – Special function Q(s,x) – Binary function |
GammaRegU | Binary function | GammaRegU(s, x) | 4.2 | Upper regularized Q Gamma – Special function Q(s,x) – Binary function |
nPk | Binary function | nPk(n, k) | 4.2 | Number of k-permutations that can be drawn from n-elements set – Binary function |
Beta | Binary function | Beta(x, y) | 4.2 | The Beta, also called the Euler integral of the first kind – Special function B(x,y) – Binary function |
logBeta | Binary function | logBeta(x, y) | 4.2 | The Log Beta, also called the Log Euler integral of the first kind – Special function lnB(x,y) – Binary function |
pStud | Binary function | pStud(x, v) | 5.0 | Student’s t-distribution – Probability distribution function – Binary function |
cStud | Binary function | cStud(x, v) | 5.0 | Student’s t-distribution – Cumulative distribution function – Binary function |
qStud | Binary function | qStud(p, v) | 5.0 | Student’s t-distribution – Quantile function (inverse cumulative distribution function) – Binary function |
pChi2 | Binary function | pChi2(x, k) | 5.0 | Chi-squared distribution – Probability distribution function – Binary function |
cChi2 | Binary function | cChi2(x, k) | 5.0 | Chi-squared distribution – Cumulative distribution function – Binary function |
qChi2 | Binary function | qChi2(p, k) | 5.0 | Chi-squared distribution – Quantile function (inverse cumulative distribution function) – Binary function |
rFSned | Binary function | rFSned(d1, d2) | 5.1 | Random variable – Snedecor’s F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution) – Binary function |
Nuget – Package Manager
Install-Package
MathParser.org-mXparser
-Version
6.0.0
dotnet add package
MathParser.org-mXparser
--version
6.0.0
<PackageReference Include=
"MathParser.org-mXparser"
Version=
"6.0.0"
/>
Maven – Dependency
<dependency>
<groupid>org.mariuszgromada.math
</groupid>
<artifactid>MathParser.org-mXparser
</artifactid>
<version>6.0.0
</version>
</dependency>
Maven – Gradle
implementation
'org.mariuszgromada.math:MathParser.org-mXparser:6.0.0'
CMake – Dependency / FetchContent
include(FetchContent)
FetchContent_Declare(MathParserOrgMxParser
GIT_REPOSITORY https://github.com/mariuszgromada/MathParser.org-mXparser.git
SOURCE_SUBDIR CURRENT/cpp/lib
)
FetchContent_MakeAvailable(MathParserOrgMxParser
)
target_link_libraries(YourExecutable MathParserOrgMxParser
)
GitHub
git clone
https://github.com/mariuszgromada/MathParser.org-mXparser
OTHER DOWNLOAD OPTIONS
Download latest release – v.6.0.0 Picon: .NET bin onlyDownload latest release – v.6.0.0 Picon: JAVA bin onlyDownload latest release – v.6.0.0 Picon: bin + doc
NEWS FROM MATHPARSER.ORG
SOURCE CODE
Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl