bopp.helper-functions
->mvn-distribution
(->mvn-distribution mean cov k Lcov unit-normal Z iLcov transform-sample)
Positional factory function for class bopp.helper_functions.mvn-distribution.
->normal-distribution
(->normal-distribution mean sd dist22741)
Positional factory function for class bopp.helper_functions.normal-distribution.
argmax
(argmax coll)
Index of maximum of a collection
cartesian
(cartesian colls)
defdist
macro
(defdist name & args)
distribution
protocol
members
observe*
(observe* this value)
return the probability [density] of the value
sample*
(sample* this)
draws a sample from the distribution
indexed-max
(indexed-max f coll)
Returns an indexed maximum. Accepts a function f and a collection
coll. Returns a pair [y-max i-max] in which y-max is the largest
value (f x-max) and i-max is the index such that (nth coll i-max)
returns x-max.
map->mvn-distribution
(map->mvn-distribution m__6522__auto__)
Factory function for class bopp.helper_functions.mvn-distribution, taking a map of keywords to field values.
map->normal-distribution
(map->normal-distribution m__6522__auto__)
Factory function for class bopp.helper_functions.normal-distribution, taking a map of keywords to field values.
mean
(mean a dimension)
(mean a)
mean of array slices along specified dimension
multivariate-distribution
protocol
additional methods for multivariate distributions
normal
(normal mean sd)
normal distribution (imported from apache)
RNG
random number generator;
used by Apache Commons Math distribution objects
sum
(sum a dimension)
(sum a)
sums array slices along specified dimension