Skip to content

Variadic Functions

Mariusz Gromada edited this page Apr 15, 2022 · 2 revisions

Did you find mXparser useful? If yes:

INFIMA

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

as of 2022-04-15