Liking cljdoc? Tell your friends :D

hyperphor.multitool.math


*Tclj/s

source

+Tclj/s

source

-Tclj/s

source

absTclj/s

source

coefficent-of-variationclj/s

(coefficent-of-variation seq)

Return coefficent of variation of the elements of seq

Return coefficent of variation of the elements of `seq`
sourceraw docstring

covarianceclj/s

(covariance seq1 seq2)

Return the covariance between seq1 and seq2, which should be of equal size

Return the covariance between seq1 and seq2, which should be of equal size
sourceraw docstring

d2rclj/s

(d2r d)

Convert degrees to radians

Convert degrees to radians
sourceraw docstring

diffTclj/s

source

divides?clj/s

(divides? a b)
source

divisorsclj/s

(divisors n)
source

divTclj/s

source

divxTclj/s

source

euclidean-distanceclj/s

(euclidean-distance p0 p1)
(euclidean-distance x0 y0 x1 y1)

Euclidean distance between points. Either 2D points supplied as separate arguments, or between 2 n-dimensional points with vector coordinates

Euclidean distance between points. Either 2D points supplied as separate arguments, or between 2 n-dimensional points with vector coordinates
sourceraw docstring

extrapolateclj/s

(extrapolate v)

Extrapolate a vector of numbers by one element, using method of finite differences

Extrapolate a vector of numbers by one element, using method of finite differences
sourceraw docstring

factorialsclj/s

source

geometric-meanclj/s

(geometric-mean seq)

Return the geometric mean of the elements of seq

Return the geometric mean of the elements of `seq`
sourceraw docstring

ilesclj/s

(iles seq n)

Return the boundaries of deciles (n-iles) of seq

Return the boundaries of deciles (n-iles) of seq
sourceraw docstring

interpolateclj/s

(interpolate a b s)

Return a number between a and b, s is in interval [0, 1]

Return a number between a and b, s is in interval [0, 1]
sourceraw docstring

interpolatedclj/s

(interpolated a b n)

Return a sequence of n equally-spaced numbers between a and b

Return a sequence of n equally-spaced numbers between a and b
sourceraw docstring

interpolateTclj/s

source

manhattan-distanceclj/s

(manhattan-distance p0 p1)
(manhattan-distance x0 y0 x1 y1)

Manhattan distance between points. Either 2D points supplied as separate arguments, or between 2 n-dimensional points with vector coordinates

Manhattan distance between points. Either 2D points supplied as separate arguments, or between 2 n-dimensional points with vector coordinates
sourceraw docstring

meanclj/s

(mean seq)

Return the arithmetic mean of the elements of seq

Return the arithmetic mean of the elements of `seq`
sourceraw docstring

medianclj/s

(median seq)

Return the median of the elements of seq

Return the median of the elements of `seq`
sourceraw docstring

outliers-byclj/s

(outliers-by scorefn seq factor)

Return elements of seq on whom scorefn is more than factor standard-deviations away from the mean.

Return elements of `seq` on whom `scorefn` is more than `factor` standard-deviations away from the mean.
sourceraw docstring

pearson-correlation-coefficientclj/s

(pearson-correlation-coefficient seq1 seq2)

Return the correlation coefficient between seq1 and seq2, which should be of equal size. Value is in range [-1, 1].

Return the correlation coefficient between seq1 and seq2, which should be of equal size. Value is in range [-1, 1]. 
sourceraw docstring

pow10clj/s

(pow10 i)
source

powTclj/s

source

prime-factorsclj/s

(prime-factors n)

Prime factors of n

Prime factors of n
sourceraw docstring

prime?clj/s

(prime? n)
source

primesclj/s

source

r2dclj/s

(r2d r)

Convert radians to degrees

Convert radians to degrees
sourceraw docstring

rescaleclj/s

(rescale val from-lower from-upper to-lower to-upper)

Val is a number from interval [from-lower, from-upper], scale it to [to-lower, to-upper]

Val is a number from interval [from-lower, from-upper], scale it to [to-lower, to-upper]
sourceraw docstring

score-bclj/s

(score-b keyfn seq)

Return a list of [elt score] pairs, in descending score order.

Return a list of [elt score] pairs, in descending score order.
sourceraw docstring

squareTclj/s

source

standard-deviationclj/s

(standard-deviation seq)

Return standard deviation of the elements of seq

Return standard deviation of the elements of `seq`
sourceraw docstring

standard-deviation-sampleclj/s

(standard-deviation-sample seq)

Return standard deviation with Bessel correction of the elements of seq

Return standard deviation with Bessel correction of the elements of `seq`
sourceraw docstring

Tclj/s

source

tensorizeclj/s

(tensorize f)

Generate a tensorized version of any f

Generate a tensorized version of any f
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close