Variadic 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.

Tutorial Math Collection API spec Download

mXparser – built-in Variadic Functions

KeywordTypeSyntaxSinceDescription
iffVariadic functioniff(cond-1, expr-1; … ; cond-n, expr-n)1.0If function – Variadic function
minVariadic functionmin(a1, …, an)1.0Minimum – Variadic function
maxVariadic functionmax(a1, …, an)1.0Maximum – Variadic function
ConFracVariadic functionConFrac(a1, …, an)1.0Continued fraction – Variadic function
ConPolVariadic functionConPol(a1, …, an)1.0Continued polynomial – Variadic function
gcdVariadic functiongcd(a1, …, an)1.0Greatest common divisor – Variadic function
lcmVariadic functionlcm(a1, …, an)1.0Least common multiple – Variadic function
addVariadic functionadd(a1, …, an)2.4Summation – Variadic function
multiVariadic functionmulti(a1, …, an)2.4Multiplication – Variadic function
meanVariadic functionmean(a1, …, an)2.4Mean / average value – Variadic function
varVariadic functionvar(a1, …, an)2.4Bias-corrected sample variance – Variadic function
stdVariadic functionstd(a1, …, an)2.4Bias-corrected sample standard deviation – Variadic function
rListVariadic functionrList(a1, …, an)3.0Random number from a given list of numbers – Variadic function
coalesceVariadic functioncoalesce(a1, …, an)4.1Returns the first non-NaN value – Variadic function
orVariadic functionor(a1, …, an)4.1Logical disjunction (OR) – variadic – Variadic function
andVariadic functionand(a1, …, an)4.1Logical conjunction (AND) – variadic – Variadic function
xorVariadic functionxor(a1, …, an)4.1Exclusive or (XOR) – variadic – Variadic function
argminVariadic functionargmin(a1, …, an)4.1Arguments / indices of the minima – Variadic function
argmaxVariadic functionargmax(a1, …, an)4.1Arguments / indices of the maxima – Variadic function
medVariadic functionmed(a1, …, an)4.1The sample median – Variadic function
modeVariadic functionmode(a1, …, an)4.1Mode – the value that appears most often – Variadic function
baseVariadic functionbase(b, d1, …, dn)4.1Returns number in given numeral system base represented by list of digits – Variadic function
ndistVariadic functionndist(v1, …, vn)4.1Number of distinct values – Variadic function
as of 2023-01-29
Nuget – Package Manager

Install-Package MathParser.org-mXparser -Version 5.2.0

Nuget – .NET CLI

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

Nuget – Package Reference

<PackageReference Include="MathParser.org-mXparser" Version="5.2.0"/>

Maven – Dependency

<dependency>
<groupid>
org.mariuszgromada.math</groupid>
<artifactid>
MathParser.org-mXparser</artifactid>
<version>
5.2.0</version>
</dependency>

Maven – Gradle

implementation 'org.mariuszgromada.math:MathParser.org-mXparser:5.2.0'

Maven – Gradle (Kotlin)

implementation("org.mariuszgromada.math:MathParser.org-mXparser:5.2.0")

GitHub

git clone https://github.com/mariuszgromada/MathParser.org-mXparser

OTHER DOWNLOAD OPTIONS

Download latest release – v.5.2.0 Orion: .NET bin onlyDownload latest release – v.5.2.0 Orion: JAVA bin onlyDownload latest release – v.5.2.0 Orion: bin + doc

NEWS FROM MATHPARSER.ORG
SOURCE CODE

Source code .zipSource code .tar.gz
View on GitHubMathSpace.pl

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