Mathematical functionsΒΆ

gcd

greatest common divisor

lcm

least common multiple

abs

absolute value

ceil

ceiling function

copysign

copy sign function

exp

exponential function

expm1

exponential minus 1 function

factorial

factorial function

floor

floor function

fmod

remainder of division function

log

natural logarithm function

log1p

natural logarithm 1 plus argument function

log2

binary logarithm function

log10

common logarithm function

max

maximum between two numbers

min

minimum between two numbers

pow

power function

round

round function

signbit

sign bit function

sgn

sign function

sqrt

square root function

inv_sqrt

inverse square root function

trunc

truncate function

cosh

hyperbolic cosine function

sinh

hyperbolic sine function

tanh

hyperbolic tangent function

acosh

inverse hyperbolic cosine function

asinh

inverse hyperbolic sine function

atanh

inverse hyperbolic tangent function

binomial_coef

binomial coefficient

log_binomial_coef

log binomial coefficient

beta

beta function

lbeta

log-beta function

tgamma

gamma function

lgamma

log-gamma function

lmgamma

log-multivariate gamma function

erf

error function

incomplete_beta

incomplete beta function

incomplete_gamma

incomplete gamma function

erf_inv

inverse error function

incomplete_beta_inv

inverse incomplete beta function

incomplete_gamma_inv

inverse incomplete gamma function

cos

cosine function

sin

sine function

tan

tangent function

acos

arccosine function

asin

arcsine function

atan

arctangent function

atan2

two-argument arctangent function