Skip to content

Unary Functions

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

Did you find mXparser useful? If yes:

INFIMA

Built-in Unary Functions

Key word Category Description Example Since
sin Unary Function Trigonometric sine function sin(x) 1.0
cos Unary Function Trigonometric cosine function cos(x) 1.0
tg Unary Function Trigonometric tangent function tg(x) 1.0
tan Unary Function Trigonometric tangent function tan(x) 1.0
ctg Unary Function Trigonometric cotangent function ctg(x) 1.0
cot Unary Function Trigonometric cotangent function cot(x) 1.0
ctan Unary Function Trigonometric cotangent function ctan(x) 1.0
sec Unary Function Trigonometric secant function sec(x) 1.0
csc Unary Function Trigonometric cosecant function csc(x) 1.0
cosec Unary Function Trigonometric cosecant function cosec(x) 1.0
asin Unary Function Inverse trigonometric sine function asin(x) 1.0
arsin Unary Function Inverse trigonometric sine function arsin(x) 1.0
arcsin Unary Function Inverse trigonometric sine function arcsin(x) 1.0
acos Unary Function Inverse trigonometric cosine function acos(x) 1.0
arcos Unary Function Inverse trigonometric cosine function arcos(x) 1.0
arccos Unary Function Inverse trigonometric cosine function arccos(x) 1.0
atg Unary Function Inverse trigonometric tangent function atg(x) 1.0
atan Unary Function Inverse trigonometric tangent function atan(x) 1.0
arctg Unary Function Inverse trigonometric tangent function arctg(x) 1.0
arctan Unary Function Inverse trigonometric tangent function arctan(x) 1.0
actg Unary Function Inverse trigonometric cotangent function actg(x) 1.0
acot Unary Function Inverse trigonometric cotangent function acot(x) 1.0
actan Unary Function Inverse trigonometric cotangent function actan(x) 1.0
arcctg Unary Function Inverse trigonometric cotangent function arcctg(x) 1.0
arccot Unary Function Inverse trigonometric cotangent function arccot(x) 1.0
arcctan Unary Function Inverse trigonometric cotangent function arcctan(x) 1.0
ln Unary Function Natural logarithm function (base e) ln(x) 1.0
log2 Unary Function Binary logarithm function (base 2) log2(x) 1.0
lg Unary Function Common logarithm function (base 10) lg(x) 5.0
log10 Unary Function Common logarithm function (base 10) log10(x) 1.0
rad Unary Function Degrees to radians function rad(x) 1.0
exp Unary Function Exponential function exp(x) 1.0
sqrt Unary Function Squre root function sqrt(x) 1.0
sinh Unary Function Hyperbolic sine function sinh(x) 1.0
cosh Unary Function Hyperbolic cosine function cosh(x) 1.0
tgh Unary Function Hyperbolic tangent function tgh(x) 1.0
tanh Unary Function Hyperbolic tangent function tanh(x) 1.0
coth Unary Function Hyperbolic cotangent function coth(x) 1.0
ctgh Unary Function Hyperbolic cotangent function ctgh(x) 1.0
ctanh Unary Function Hyperbolic cotangent function ctanh(x) 1.0
sech Unary Function Hyperbolic secant function sech(x) 1.0
csch Unary Function Hyperbolic cosecant function csch(x) 1.0
cosech Unary Function Hyperbolic cosecant function cosech(x) 1.0
deg Unary Function Radians to degrees function deg(x) 1.0
abs Unary Function Absolut value function abs(x) 1.0
sgn Unary Function Signum function sgn(x) 1.0
floor Unary Function Floor function floor(x) 1.0
ceil Unary Function Ceiling function ceil(x) 1.0
not Unary Function Negation function not(x) 1.0
asinh Unary Function Inverse hyperbolic sine function asinh(x) 1.0
arsinh Unary Function Inverse hyperbolic sine function arsinh(x) 1.0
arcsinh Unary Function Inverse hyperbolic sine function arcsinh(x) 1.0
acosh Unary Function Inverse hyperbolic cosine function acosh(x) 1.0
arcosh Unary Function Inverse hyperbolic cosine function arcosh(x) 1.0
arccosh Unary Function Inverse hyperbolic cosine function arccosh(x) 1.0
atgh Unary Function Inverse hyperbolic tangent function atgh(x) 1.0
atanh Unary Function Inverse hyperbolic tangent function atanh(x) 1.0
arctgh Unary Function Inverse hyperbolic tangent function arctgh(x) 1.0
arctanh Unary Function Inverse hyperbolic tangent function arctanh(x) 1.0
acoth Unary Function Inverse hyperbolic cotangent function acoth(x) 1.0
actgh Unary Function Inverse hyperbolic cotangent function actgh(x) 1.0
actanh Unary Function Inverse hyperbolic cotangent function actanh(x) 1.0
arcoth Unary Function Inverse hyperbolic cotangent function arcoth(x) 1.0
arccoth Unary Function Inverse hyperbolic cotangent function arccoth(x) 1.0
arcctgh Unary Function Inverse hyperbolic cotangent function arcctgh(x) 1.0
arcctanh Unary Function Inverse hyperbolic cotangent function arcctanh(x) 1.0
asech Unary Function Inverse hyperbolic secant function asech(x) 1.0
arsech Unary Function Inverse hyperbolic secant function arsech(x) 1.0
arcsech Unary Function Inverse hyperbolic secant function arcsech(x) 1.0
acsch Unary Function Inverse hyperbolic cosecant function acsch(x) 1.0
arcsch Unary Function Inverse hyperbolic cosecant function arcsch(x) 1.0
arccsch Unary Function Inverse hyperbolic cosecant function arccsch(x) 1.0
acosech Unary Function Inverse hyperbolic cosecant function acosech(x) 1.0
arcosech Unary Function Inverse hyperbolic cosecant function arcosech(x) 1.0
arccosech Unary Function Inverse hyperbolic cosecant function arccosech(x) 1.0
Sa Unary Function Sinc function (normalized) Sa(x) 1.0
sinc Unary Function Sinc function (normalized) sinc(x) 1.0
Sinc Unary Function Sinc function (unnormalized) Sinc(x) 1.0
Bell Unary Function Bell number Bell(n) 1.0
Luc Unary Function Lucas number Luc(n) 1.0
Fib Unary Function Fibonacci number Fib(n) 1.0
harm Unary Function Harmonic number harm(n) 1.0
ispr Unary Function Prime number test (is number a prime?) ispr(n) 2.3
Pi Unary Function Prime-counting function - Pi(x) Pi(n) 2.3
Ei Unary Function Exponential integral function (non-elementary special function) - usage example: Ei(x) Ei(x) 2.3
li Unary Function Logarithmic integral function (non-elementary special function) - usage example: li(x) li(x) 2.3
Li Unary Function Offset logarithmic integral function (non-elementary special function) - usage example: Li(x) Li(x) 2.3
erf Unary Function Gauss error function (non-elementary special function) - usage example: 2 + erf(x) erf(x) 3.0
erfc Unary Function Gauss complementary error function (non-elementary special function) - usage example: 1 - erfc(x) erfc(x) 3.0
erfInv Unary Function Inverse Gauss error function (non-elementary special function) - usage example: erfInv(x) erfInv(x) 3.0
erfcInv Unary Function Inverse Gauss complementary error function (non-elementary special function) - usage example: erfcInv(x) erfcInv(x) 3.0
ulp Unary Function Unit in The Last Place - ulp(0.1) ulp(x) 3.0
isNaN Unary Function Returns true = 1 if value is a Not-a-Number (NaN), false = 0 otherwise - usage example: isNaN(x) isNaN(x) 4.1
ndig10 Unary Function Number of digits in numeral system with base 10 ndig10(x) 4.1
nfact Unary Function Prime decomposition - number of distinct prime factors nfact(x) 4.1
arcsec Unary Function Inverse trigonometric secant arcsec(x) 4.1
arccsc Unary Function Inverse trigonometric cosecant arccsc(x) 4.1
Gamma Unary Function Gamma special function Γ(s) Gamma(x) 4.2
LambW0 Unary Function Lambert-W special function, principal branch 0, also called the omega function or product logarithm LambW0(x) 4.2
LambW1 Unary Function Lambert-W special function, branch -1, also called the omega function or product logarithm LambW1(x) 4.2
sgnGamma Unary Function Signum of Gamma special function, Γ(s) sgnGamma(x) 4.2
logGamma Unary Function Log Gamma special function, lnΓ(s) logGamma(x) 4.2
diGamma Unary Function Digamma function as the logarithmic derivative of the Gamma special function, ψ(x) diGamma(x) 4.2
rStud Unary Function Random variable - Student's t-distribution rStud(v) 5.0
rChi2 Unary Function Random variable - Chi-squared distribution rChi2(k) 5.0

as of 2022-04-15