math

Function summary
average list &key (key (function identity))
combination a b
compose f g
correlation datapoints
count-subsets n
fac! nr &optional (start 1)
median list &key (already-sorted nil) (key (function identity))
permutations a &optional (b a)
stdev list &key average (key (function identity))
sum values
%fast-average list
%fast-stdev list average
sum   values  [Function]
compose   f g  [Function]

Return a function h such that (h x) = (f (g x)).

average   list &key (key (function identity))  [Function]

the average of a list

%fast-average   list  [Function]
median   list &key (already-sorted nil) (key (function identity))  [Function]

the median of a list

stdev   list &key average (key (function identity))  [Function]
%fast-stdev   list average  [Function]
correlation   datapoints  [Function]

Datapoints should be a list of (x . y) pairs. Returns values a,b,r**2 for which y=a+bx is a least square fitting with the square of the correlation coefficient equal to r**2.

fac!   nr &optional (start 1)  [Function]
permutations   a &optional (b a)  [Function]

The number of permutations of length b out of a

combination   a b  [Function]

The combination for b out of a

count-subsets   n  [Function]