Skip to content

Variadic Functions

Mariusz Gromada edited this page May 28, 2017 · 2 revisions

mXparser icon

Supported 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-03-05

mXparser - optional donation

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

paypal