Liking cljdoc? Tell your friends :D

org.soulspace.math.core


acosclj/s≠

(acos x)
clj

Calculates the arc cosine of x (with java.lang.Math).

Calculates the arc cosine of x (with java.lang.Math).
cljs

Calculates the arccosine of x (x is in radians).

Calculates the arccosine of x (x is in radians).
source (clj)source (cljs)raw docstring

ahavclj/s

(ahav x)

Calculates the arc haversine function of the value v.

Calculates the arc haversine function of the value v.
source (clj)source (cljs)raw docstring

alog10clj/s

(alog10 x)

Calculates the inverse of the logarithm with base 2 of x (with java.lang.Math).

Calculates the inverse of the logarithm with base 2 of x (with java.lang.Math).
source (clj)source (cljs)raw docstring

alog2clj/s

(alog2 x)

Calculates the inverse of the logarithm with base 2 of x (with java.lang.Math).

Calculates the inverse of the logarithm with base 2 of x (with java.lang.Math).
source (clj)source (cljs)raw docstring

asinclj/s≠

(asin x)
clj

Calculates the arc sine of x (with java.lang.Math).

Calculates the arc sine of x (with java.lang.Math).
cljs

Calculates the arcsine of x (x is in radians).

Calculates the arcsine of x (x is in radians).
source (clj)source (cljs)raw docstring

atanclj/s≠

(atan x)
clj

Calculates the arc tangens of x (with java.lang.Math).

Calculates the arc tangens of x (with java.lang.Math).
cljs

Calculates the arctangent of x as a numeric value between -PI/2 and PI/2 radians.

Calculates the arctangent of x as a numeric value between -PI/2 and PI/2 radians.
source (clj)source (cljs)raw docstring

atan2clj/s≠

clj
(atan2 a b)

Calculates the arc tangens of a/b. Returns the result in the correct quadrant.

Calculates the arc tangens of a/b. Returns the result in the correct quadrant.
cljs
(atan2 x y)

Calculates the arctangent of the quotient of its arguments.

Calculates the arctangent of the quotient of its arguments.
source (clj)source (cljs)raw docstring

avgclj/s

(avg coll)
(avg x y)

Calculates the avarage of x and y or of the values of coll.

Calculates the avarage of x and y or of the values of coll.
source (clj)source (cljs)raw docstring

cbrtclj/s≠

(cbrt x)
clj

Calculates the cubic root of x (with java.lang.Math).

Calculates the cubic root of x (with java.lang.Math).
cljs

Calculates the cubic root of x.

Calculates the cubic root of x.
source (clj)source (cljs)raw docstring

ceilclj/s≠

(ceil x)
clj

Calculates the ceiling of x (with java.lang.Math).

Calculates the ceiling of x (with java.lang.Math).
cljs

Calculates x, rounded upwards to the nearest integer.

Calculates x, rounded upwards to the nearest integer.
source (clj)source (cljs)raw docstring

cosclj/s≠

(cos x)
cljs

Calculates the cosine of x (x is in radians).

Calculates the cosine of x (x is in radians).
source (clj)source (cljs)raw docstring

coshclj/s≠

(cosh x)
clj

Calculates the hyperbolic cosine of x (with java.lang.Math).

Calculates the hyperbolic cosine of x (with java.lang.Math).
cljs

Calculates the hyperbolic cosine of x (x is in radians).

Calculates the hyperbolic cosine of x (x is in radians).
source (clj)source (cljs)raw docstring

cubeclj/s

(cube x)

Calculates the cube of x.

Calculates the cube of x.
source (clj)source (cljs)raw docstring

default-dxclj/s

Default step size (delta x).

Default step size (delta x).
source (clj)source (cljs)raw docstring

default-epsilonclj/s

Default tolerance (epsilon).

Default tolerance (epsilon).
source (clj)source (cljs)raw docstring

deg-to-radclj/s≠

(deg-to-rad deg)
clj

Converts degrees to radians (with java.lang.Math).

Converts degrees to radians (with java.lang.Math).
cljs

Converts degrees to radians

Converts degrees to radians
source (clj)source (cljs)raw docstring

erfclj/s

(erf x)

Calculates the gaussian error function.

Calculates the gaussian error function.
source (clj)source (cljs)raw docstring

erfcclj/s

(erfc x)

Calculates the complementary gaussian error function.

Calculates the complementary gaussian error function.
source (clj)source (cljs)raw docstring

expclj/s≠

(exp x)
clj

Calculates the exponential function of x (with java.lang.Math).

Calculates the exponential function of x (with java.lang.Math).
cljs

Calculates the value of E^x.

Calculates the value of E^x.
source (clj)source (cljs)raw docstring

expm1clj/s

(expm1 x)

Calulates e to the power of x minus 1.

Calulates e to the power of x minus 1.
source (clj)source (cljs)raw docstring

factorialclj/s

(factorial x)

Calculates the factorial of x.

Calculates the factorial of x.
source (clj)source (cljs)raw docstring

fibonacciclj/s

(fibonacci x)

Calculates the fibonacci number of x.

Calculates the fibonacci number of x.
source (clj)source (cljs)raw docstring

floorclj/s≠

(floor x)
clj

Calculates the floor of x (with java.lang.Math).

Calculates the floor of x (with java.lang.Math).
cljs

Calculates x, rounded downwards to the nearest integer.

Calculates x, rounded downwards to the nearest integer.
source (clj)source (cljs)raw docstring

havclj/s

(hav x)

Calculates the haversine function of the angle a.

Calculates the haversine function of the angle a.
source (clj)source (cljs)raw docstring

hypotclj/s≠

(hypot x y)
clj

Calculates the hypothenuse of x and y (Pythagoras) (with java.lang.Math).

Calculates the hypothenuse of x and y (Pythagoras) (with java.lang.Math).
cljs

Calculates the hypothenuse of x and y (Pythagoras).

Calculates the hypothenuse of x and y (Pythagoras).
source (clj)source (cljs)raw docstring

logclj/s≠

(log x)
clj

Calculates the natural logarithm (with base e) of x (with java.lang.Math).

Calculates the natural logarithm (with base e) of x (with java.lang.Math).
cljs

Calculates the natural logarithm (base E) of x.

Calculates the natural logarithm (base E) of x.
source (clj)source (cljs)raw docstring

log-with-baseclj/s

(log-with-base b x)

Calculates the logarithm with base b of x.

Calculates the logarithm with base b of x.
source (clj)source (cljs)raw docstring

log10clj/s

(log10 x)

Calculates the logarithm with base 10 of x (with java.lang.Math).

Calculates the logarithm with base 10 of x (with java.lang.Math).
source (clj)source (cljs)raw docstring

log1pclj/s

(log1p x)

Calculates the natural logarithm of the sum of x and 1.

Calculates the natural logarithm of the sum of x and 1.
source (clj)source (cljs)raw docstring

log2clj/s

(log2 x)

Calculates the logarithm with base 2 of x (with java.lang.Math).

Calculates the logarithm with base 2 of x (with java.lang.Math).
source (clj)source (cljs)raw docstring

powclj/s≠

(pow x y)
clj

Calculates x raised to the power of y (with java.lang.Math).

Calculates x raised to the power of y (with java.lang.Math).
cljs

Calculates the value of x to the power of y.

Calculates the value of x to the power of y.
source (clj)source (cljs)raw docstring

rad-to-degclj/s≠

(rad-to-deg rad)
clj

Converts radians to degrees (with java.lang.Math).

Converts radians to degrees (with java.lang.Math).
cljs

Converts radians to degrees

Converts radians to degrees
source (clj)source (cljs)raw docstring

signclj/s≠

(sign x)
clj

Calculates the sign of x (with java.lang.Math).

Calculates the sign of x (with java.lang.Math).
cljs

Calculates the sign of x.

Calculates the sign of x.
source (clj)source (cljs)raw docstring

sinclj/s≠

(sin x)
clj

Calculates the sine of x (with java.lang.Math).

Calculates the sine of x (with java.lang.Math).
cljs

Calculates the sine of x (x is in radians).

Calculates the sine of x (x is in radians).
source (clj)source (cljs)raw docstring

sinhclj/s≠

(sinh x)
clj

Calculates the hyperbolic sine of x (with java.lang.Math).

Calculates the hyperbolic sine of x (with java.lang.Math).
cljs

Calculates the hyperbolic sine of x (x is in radians).

Calculates the hyperbolic sine of x (x is in radians).
source (clj)source (cljs)raw docstring

sqrclj/s

(sqr x)

Calculates the square of x.

Calculates the square of x.
source (clj)source (cljs)raw docstring

sqrtclj/s≠

(sqrt x)
clj

Calculates the square root of x (with java.lang.Math).

Calculates the square root of x (with java.lang.Math).
cljs

Calculates the square root of x.

Calculates the square root of x.
source (clj)source (cljs)raw docstring

tanclj/s≠

(tan x)
clj

Calculates the tangens of x (with java.lang.Math).

Calculates the tangens of x (with java.lang.Math).
cljs

Calculates the tangens of x (x is in radians).

Calculates the tangens of x (x is in radians).
source (clj)source (cljs)raw docstring

tanhclj/s≠

(tanh x)
clj

Calculates the hyperbolic tangens of x (with java.lang.Math).

Calculates the hyperbolic tangens of x (with java.lang.Math).
cljs

Calculates the hyperbolic tangens of x (x is in radians).

Calculates the  hyperbolic tangens of x (x is in radians).
source (clj)source (cljs)raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close