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 Variadic Functions
Keyword | Type | Syntax | Since | Description |
---|---|---|---|---|
iff | Variadic function | iff(cond-1, expr-1; … ; cond-n, expr-n) | 1.0 | If function – Variadic function |
min | Variadic function | min(a1, …, an) | 1.0 | Minimum – Variadic function |
max | Variadic function | max(a1, …, an) | 1.0 | Maximum – Variadic function |
ConFrac | Variadic function | ConFrac(a1, …, an) | 1.0 | Continued fraction – Variadic function |
ConPol | Variadic function | ConPol(a1, …, an) | 1.0 | Continued polynomial – Variadic function |
gcd | Variadic function | gcd(a1, …, an) | 1.0 | Greatest common divisor – Variadic function |
lcm | Variadic function | lcm(a1, …, an) | 1.0 | Least common multiple – Variadic function |
add | Variadic function | add(a1, …, an) | 2.4 | Summation – Variadic function |
multi | Variadic function | multi(a1, …, an) | 2.4 | Multiplication – Variadic function |
mean | Variadic function | mean(a1, …, an) | 2.4 | Mean / average value – Variadic function |
var | Variadic function | var(a1, …, an) | 2.4 | Bias-corrected sample variance – Variadic function |
std | Variadic function | std(a1, …, an) | 2.4 | Bias-corrected sample standard deviation – Variadic function |
rList | Variadic function | rList(a1, …, an) | 3.0 | Random number from a given list of numbers – Variadic function |
coalesce | Variadic function | coalesce(a1, …, an) | 4.1 | Returns the first non-NaN value – Variadic function |
or | Variadic function | or(a1, …, an) | 4.1 | Logical disjunction (OR) – variadic – Variadic function |
and | Variadic function | and(a1, …, an) | 4.1 | Logical conjunction (AND) – variadic – Variadic function |
xor | Variadic function | xor(a1, …, an) | 4.1 | Exclusive or (XOR) – variadic – Variadic function |
argmin | Variadic function | argmin(a1, …, an) | 4.1 | Arguments / indices of the minima – Variadic function |
argmax | Variadic function | argmax(a1, …, an) | 4.1 | Arguments / indices of the maxima – Variadic function |
med | Variadic function | med(a1, …, an) | 4.1 | The sample median – Variadic function |
mode | Variadic function | mode(a1, …, an) | 4.1 | Mode – the value that appears most often – Variadic function |
base | Variadic function | base(b, d1, …, dn) | 4.1 | Returns number in given numeral system base represented by list of digits – Variadic function |
ndist | Variadic function | ndist(v1, …, vn) | 4.1 | Number of distinct values – Variadic 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