Binary Functions

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 Binary Functions

KeywordTypeSyntaxSinceDescription
logBinary functionlog(a, b)1.0Logarithm – Binary function
modBinary functionmod(a, b)1.0Modulo – Binary function
CBinary functionC(n, k)1.0Binomial coefficient, number of k-combinations that can be drawn from n-elements set – Binary function
nCkBinary functionnCk(n, k)4.2Binomial coefficient, number of k-combinations that can be drawn from n-elements set – Binary function
BernBinary functionBern(m, n)1.0Bernoulli numbers – Binary function
Stirl1Binary functionStirl1(n, k)1.0Stirling numbers of the first kind – Binary function
Stirl2Binary functionStirl2(n, k)1.0Stirling numbers of the second kind – Binary function
WorpBinary functionWorp(n, k)1.0Worpitzky number – Binary function
EulerBinary functionEuler(n, k)1.0Euler number – Binary function
KDeltaBinary functionKDelta(i, j)1.0Kronecker delta – Binary function
EulerPolBinary functionEulerPol(m, x)1.0Euler polynomial – Binary function
HarmBinary functionHarm(x, n)1.0Harmonic number – Binary function
rUniBinary functionrUni(a, b)3.0Random variable – Uniform continuous distribution U(a,b) – Binary function
rUnidBinary functionrUnid(a, b)3.0Random variable – Uniform discrete distribution U{a,b} – Binary function
roundBinary functionround(x, n)3.0Half-up rounding – Binary function
rNorBinary functionrNor(mean, stdv)3.0Random variable – Normal distribution N(μ,σ) – Binary function
ndigBinary functionndig(number, base)4.1Number of digits representing the number in numeral system with given base – Binary function
dig10Binary functiondig10(num, pos)4.1Digit at position 1 … n (left -> right) or 0 … -(n-1) (right -> left) – base 10 numeral system – Binary function
factvalBinary functionfactval(number, factorid)4.1Prime decomposition – factor value at position between 1 … nfact(n) – ascending order by factor value – Binary function
factexpBinary functionfactexp(number, factorid)4.1Prime decomposition – factor exponent / multiplicity at position between 1 … nfact(n) – ascending order by factor value – Binary function
rootBinary functionroot(rootorder, number)4.1N-th order root of a number – Binary function
GammaLBinary functionGammaL(s, x)4.2Lower incomplete gamma – Special function γ(s,x) – Binary function
GammaUBinary functionGammaU(s, x)4.2Upper incomplete Gamma – Special function Γ(s,x) – Binary function
GammaPBinary functionGammaP(s, x)4.2Lower regularized P gamma – Special function P(s,x) – Binary function
GammaRegLBinary functionGammaRegL(s, x)4.2Lower regularized P gamma – Special function P(s,x) – Binary function
GammaQBinary functionGammaQ(s, x)4.2Upper regularized Q Gamma – Special function Q(s,x) – Binary function
GammaRegUBinary functionGammaRegU(s, x)4.2Upper regularized Q Gamma – Special function Q(s,x) – Binary function
nPkBinary functionnPk(n, k)4.2Number of k-permutations that can be drawn from n-elements set – Binary function
BetaBinary functionBeta(x, y)4.2The Beta, also called the Euler integral of the first kind – Special function B(x,y) – Binary function
logBetaBinary functionlogBeta(x, y)4.2The Log Beta, also called the Log Euler integral of the first kind – Special function lnB(x,y) – Binary function
pStudBinary functionpStud(x, v)5.0Student’s t-distribution – Probability distribution function – Binary function
cStudBinary functioncStud(x, v)5.0Student’s t-distribution – Cumulative distribution function – Binary function
qStudBinary functionqStud(p, v)5.0Student’s t-distribution – Quantile function (inverse cumulative distribution function) – Binary function
pChi2Binary functionpChi2(x, k)5.0Chi-squared distribution – Probability distribution function – Binary function
cChi2Binary functioncChi2(x, k)5.0Chi-squared distribution – Cumulative distribution function – Binary function
qChi2Binary functionqChi2(p, k)5.0Chi-squared distribution – Quantile function (inverse cumulative distribution function) – Binary function
rFSnedBinary functionrFSned(d1, d2)5.1Random variable – Snedecor’s F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution) – Binary function
as of 2023-01-29
Nuget – Package Manager (C#, F#, Visual Basic, …)

Install-Package MathParser.org-mXparser -Version 6.1.0

Nuget – .NET CLI

dotnet add package MathParser.org-mXparser --version 6.1.0

Nuget – Package Reference

<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

My other creative spaces

DONATION
Did you find the software useful?
Please consider donation 🙂
DONATE