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. The math collection library is available at runtime and is fully and identically supported by the Java (including Kotlin, Android), C# (all .NET) and C++ versions.
Tutorial Math Collection API spec Download
mXparser – built-in 3-args Functions
Keyword | Type | Syntax | Since | Description |
---|---|---|---|---|
if | Ternary function | if(cond, expr-if-true, expr-if-false) | 1.0 | If – Ternary function |
chi | Ternary function | chi(x, a, b) | 1.0 | Characteristic function for x in (a,b) – Ternary function |
CHi | Ternary function | CHi(x, a, b) | 1.0 | Characteristic function for x in [a,b] – Ternary function |
Chi | Ternary function | Chi(x, a, b) | 1.0 | Characteristic function for x in [a,b) – Ternary function |
cHi | Ternary function | cHi(x, a, b) | 1.0 | Characteristic function for x in (a,b] – Ternary function |
pUni | Ternary function | pUni(x, a, b) | 3.0 | Uniform continuous distribution – Probability distribution function U(a,b) – Ternary function |
cUni | Ternary function | cUni(a, a, b) | 3.0 | Uniform continuous distribution – Cumulative distribution function U(a,b) – Ternary function |
qUni | Ternary function | qUni(q, a, b) | 3.0 | Uniform continuous distribution – Quantile function (inverse cumulative distribution function) U(a,b) – Ternary function |
pNor | Ternary function | pNor(x, mean, stdv) | 3.0 | Normal distribution – Probability distribution function N(μ,σ) – Ternary function |
cNor | Ternary function | cNor(x, mean, stdv) | 3.0 | Normal distribution – Cumulative distribution function N(μ,σ) – Ternary function |
qNor | Ternary function | qNor(q, mean, stdv) | 3.0 | Normal distribution – Quantile function (inverse cumulative distribution function) N(μ,σ) – Ternary function |
dig | Ternary function | dig(num, pos, base) | 4.1 | Digit at position 1 … n (left -> right) or 0 … -(n-1) (right -> left) – numeral system with given base – Ternary function |
BetaInc | Ternary function | BetaInc(x, a, b) | 4.2 | The incomplete Beta, also called the incomplete Euler integral of the first kind – Special function B(x,a,b) – Ternary function |
BetaI | Ternary function | BetaI(x, a, b) | 4.2 | The regularized incomplete Beta (or regularized beta), also called the regularized incomplete Euler integral of the first kind – Special function I(x,a,b) – Ternary function |
BetaReg | Ternary function | BetaReg(x, a, b) | 4.2 | The regularized incomplete Beta (or regularized beta), also called the regularized incomplete Euler integral of the first kind – Special function I(x,a,b) – Ternary function |
pFSned | Ternary function | pFSned(x, d1, d2) | 5.1 | Snedecor’s F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution) – Probability distribution function – Ternary function |
cFSned | Ternary function | cFSned(x, d1, d2) | 5.1 | Snedecor’s F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution) – Cumulative distribution function – Ternary function |
qFSned | Ternary function | qFSned(p, d1, d2) | 5.1 | Snedecor’s F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution) – Quantile function (inverse cumulative distribution function) – Ternary function |
Nuget – Package Manager (C#, F#, Visual Basic, …)
Install-Package
MathParser.org-mXparser
-Version
6.1.0
dotnet add package
MathParser.org-mXparser
--version
6.1.0
<PackageReference Include=
"MathParser.org-mXparser"
Version=
"6.1.0"
/>
Maven – Dependency (Java, Kotlin, Scala, Groovy, …)
<dependency>
<groupid>org.mariuszgromada.math
</groupid>
<artifactid>MathParser.org-mXparser
</artifactid>
<version>6.1.0
</version>
</dependency>
Maven – Gradle
implementation
'org.mariuszgromada.math:MathParser.org-mXparser:6.1.0'
CMake – Dependency / FetchContent (C++, MSVC, LLVM/Clang, GNU/GCC, MinGW, MSYS2, WSL, Windows, Linux, Unix, MacOS)
include(FetchContent)
FetchContent_Declare(
MathParserOrgMxParser
GIT_REPOSITORY https://github.com/mariuszgromada/MathParser.org-mXparser.git
GIT_TAG v.6.1.0
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.1.0 Sagitara: .NET bin onlyDownload latest release – v.6.1.0 Sagitara: JAVA bin onlyDownload latest release – v.6.1.0 Sagitara: bin + doc
NEWS FROM MATHPARSER.ORG
SOURCE CODE
Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl