Variadic Functions

MathParser.org - mXparser - logo

*** If you found the software useful donation is something you might consider 🙂 ***

If you found the software useful donation is something you might consider :-)

mXparser - built-in Variadic Functions

Key word Category Description Example Since
iff Variadic Function If function ( iff(con_1, if_true_1_exp, ..., con_n, if_true_n_exp) ) iff(x=1, 1; x=2, 2; x=3, 3) 1.0
min Variadic Function Minimum function: min(a,b,c,...) min(2,3,1) 1.0
max Variadic Function Maximum function: max(a,b,c,...) max(2,3,1) 1.0
ConFrac Variadic Function Continued fraction: ConFrac(a,b,c,...) ConFrac(5,1,2,4) 1.0
ConPol Variadic Function Continued polynomial: ConPol(a,b,c,...) ConPol(5,1,2,4) 1.0
gcd Variadic Function Greatest common divisor: gcd(a,b,c,...) gcd(5,1,2,4) 1.0
lcm Variadic Function Least common multiple: lcm(a,b,c,...) lcm(5,1,2,4) 1.0
add Variadic Function Summation operator add(a1,a2,a3,...,an) add(5,1,2,4) 2.4
multi Variadic Function Multiplication multi(a1,a2,a3,...,an) multi(5,1,2,4) 2.4
mean Variadic Function Mean / average value mean(a1,a2,a3,...,an) mean(5,1,2,4) 2.4
var Variadic Function Bias-corrected sample variance var(a1,a2,a3,...,an) var(5,1,2,4) 2.4
std Variadic Function Bias-corrected sample standard deviation std(a1,a2,a3,...,an) std(5,1,2,4) 2.4
rList Variadic Function Random number from given list of numbers rList(a1,a2,a3,...,an) rList(5,1,2,4) 3.0

as of 2017-04-05

*** If you found the software useful donation is something you might consider 🙂 ***

If you found the software useful donation is something you might consider :-)

Enjoy 🙂

Best regards,

Mariusz Gromada

Download latest release – v.4.1.1 Aeries: bin + doc + src (.zip 13.4 MB)

Download latest release – v.4.1.1 Aeries: bin only (.zip 4.35 MB) – separate binaries for java: 1.5, 1.6, 1.7, 1.8; .NET: 2.0, 3.0, 3.5, 4.0, 4.5, 4.6, 4.7, .NET Core, .NET Standard, .NET PCL, Xamarin.Android, Xamarin.iOS

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