auto-opti.sample

Functions manipulating set of numbers for probalistic analyzis.

Some functions are inspired from https://github.com/MastodonC/kixi.stats. and optimization tips about http://hugoduncan.org/criterium/0.4/uberdoc.html.

average

(average coll)

Compute the average of the collection coll.

Execution time mean : 86.310310 µs, std-dev 546.868164 ns.

erf

(erf x)

erf polynomial approximation of x. Maximum error is 1.5e-7. Handbook of Mathematical Functions: with Formulas, Graphs, and Mathematical Tables. Milton Abramowitz (Editor), Irene A. Stegun (Editor), 7.1.26

freq

(freq coll interval)

Compute frequencies of element based on their interval

median

(median coll)

Returns the median of the collection coll.

midrange

(midrange coll)

Find the midrange of the collection coll.

midrange-double

(midrange-double coll)

Find the midrange of the collection coll.

midrange-long

(midrange-long coll)

Find the midrange of the collection coll.

n

(n coll)

Returns the number of elements in the sample

standard-deviation

(standard-deviation coll)

Returns the standard deviation of the collection coll.

variance

(variance coll)

Variance of a collection coll.

Execution time mean : 76.108405 µs, std-dev = 1.321352 ns