Liking cljdoc? Tell your friends :D

b1.maths


absclj/s

(abs x)
source

acosclj/s

(acos x)
source

addclj/s

(add & args)
source

asinclj/s

(asin x)
source

atanclj/s

(atan x)
source

ceilclj/s

(ceil x)
source

cosclj/s

(cos x)
source

degclj/s

(deg x)
source

divclj/s

(div & args)
source

eclj/s

source

exptclj/s

(expt x)
(expt x y)
source

extentclj/s

(extent xs)

Returns 2-vector of min and max elements in xs.

Returns 2-vector of min and max elements in xs.
sourceraw docstring

floorclj/s

(floor x)
source

irangeclj/s

(irange start)
(irange start end)
(irange start end step)

Inclusive range; same as core/range, but includes the end.

Inclusive range; same as core/range, but includes the end.
sourceraw docstring

logclj/s

(log x)
(log base x)
source

log10clj/s

(log10 x)
source

meanclj/s

(mean xs)

Arithemetic mean of collection

Arithemetic mean of collection
sourceraw docstring

medianclj/s

(median xs)

Median of a collection.

Median of a collection.
sourceraw docstring

mulclj/s

(mul & args)
source

Piclj/s

source

quantileclj/s

(quantile data & {:keys [probs] :or {probs [0 0.25 0.5 0.75 1]}})

Returns the quantiles of a dataset.

Kwargs:

:probs: ntiles of the data to return, defaults to [0 0.25 0.5 0.75 1]

Algorithm is the same as R's quantile type=7. Transcribed from Jason Davies; https://github.com/jasondavies/science.js/blob/master/src/stats/quantiles.js

Returns the quantiles of a dataset.

 Kwargs:

   > *:probs*: ntiles of the data to return, defaults to `[0 0.25 0.5 0.75 1]`

Algorithm is the same as R's quantile type=7.
Transcribed from Jason Davies; https://github.com/jasondavies/science.js/blob/master/src/stats/quantiles.js
sourceraw docstring

radclj/s

(rad x)
source

radians-per-degreeclj/s

source

sinclj/s

(sin x)
source

sqrtclj/s

(sqrt x)
source

subclj/s

(sub & args)
source

tanclj/s

(tan x)
source

Tauclj/s

source

within?clj/s

(within? x [bottom top])

Checks if bottom <= x <= top.

Checks if bottom <= x <= top.
sourceraw docstring

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

× close