uncomplicate.neanderthal.math

Primitive floating point mathematical functions commonly found in Math, FastMath, and the likes. Vectorized counterparts can be found in the vect-math namespace.

abs

(abs x)

acos

(acos x)

acosh

(acosh x)

asin

(asin x)

asinh

(asinh x)

atan

(atan x)

atan2

(atan2 x y)

atanh

(atanh x)

cbrt

(cbrt x)

cdf-norm

(cdf-norm x)

The CDF of Normal(0,1).

cdf-norm-inv

(cdf-norm-inv x)

The inverse CDF of Normal(0,1).

ceil

(ceil x)

copy-sign

(copy-sign x y)

cos

(cos x)

cosh

(cosh x)

elu

(elu alpha x)(elu alpha)

erf

(erf x)

Error function: erf(x) = 2/√π 0∫x e-t2dt.

erf-inv

(erf-inv x)

Inverse error function.

erfc

(erfc x)

The complementary error function: erfc(x) = 1 - erf(x).

erfc-inv

(erfc-inv x)

Inverse complementary error function.

exp

(exp x)

expm1

(expm1 x)

f<

(f< x y nepsilons)(f< x y)

f<=

(f<= x y nepsilons)(f<= x y)

f=

(f= x y nepsilons)(f= x y)

f>

(f> x y nepsilons)(f> x y)

f>=

(f>= x y nepsilons)(f>= x y)

floor

(floor x)

frac

(frac x)

gamma

(gamma x)

hypot

(hypot x y)

lgamma

(lgamma x)

log

(log x)

log10

(log10 x)

log1p

(log1p x)

magnitude

(magnitude range)(magnitude lower upper)

pi

pow

(pow x y)(pow y)

pow-of-2?

(pow-of-2? n)

ramp

(ramp x)

relu

(relu alpha x)(relu alpha)

round

(round x)

round?

(round? x)(round? x nepsilons)

sigmoid

(sigmoid x)

signum

(signum x)

sin

(sin x)

sinh

(sinh x)

sqr

(sqr x)

sqrt

(sqrt x)

tan

(tan x)

tanh

(tanh x)

trunc

(trunc x)