Traits§
- LogSum
Exp - Streaming
logexp
implementation as described in Sebastian Nowozin’s blog
Functions§
- argmax
- Indices of the largest element(s) in xs.
- cumsum
- Cumulative sum of
xs
- gammafn
- Gamma function, Γ(x)
- gumbel_
pflip - ln_
binom - Natural logarithm of binomial coefficient, ln nCk
- ln_fact
- ln factorial
- ln_
gammafn - Logarithm of the gamma function, ln Γ(x)
- ln_
pflip - ln_
pflips - Draw an index according to log-domain weights
- lnmv_
gamma - Natural logarithm of the multivariate gamma function, ln Γp(a).
- log1pexp
- log_
product - Computes the natural logarithm of the product of a sequence of floating-point numbers.
- logaddexp
- mvgamma
- Multivariate gamma function, Γp(a).
- pflip
- pflips
- Draw
n
indices in proportion to theirweights
- sorted_
uniforms - Generate a vector of sorted uniform random variables.
- vec_
to_ string - Convert a Vector to a printable string