1.2.3-SNAPSHOT permalink Arrow_down_16x16

exponential-distribution

incanter.distributions

  • (exponential-distribution)
  • (exponential-distribution rate)
Returns a Exponential distribution that implements the incanter.distributions.Distribution protocol.

Arguments:
rate (default 1)

See also:
Distribution, pdf, cdf, draw, support

References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Exponential.html
http://en.wikipedia.org/wiki/Exponential_distribution

Example:
(pdf (exponential-distribution 1/2) 2.0)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/distributions.clj:448 top

(defn exponential-distribution
  "Returns a Exponential distribution that implements the incanter.distributions.Distribution protocol.

  Arguments:
    rate       (default 1)

  See also:
    Distribution, pdf, cdf, draw, support

  References:
    http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/Exponential.html
    http://en.wikipedia.org/wiki/Exponential_distribution

  Example:
    (pdf (exponential-distribution 1/2) 2.0)"
  ([] (exponential-distribution 1))
  ([rate] (Exponential. rate (DoubleMersenneTwister.))))
Vars in incanter.distributions/exponential-distribution: defn
Used in 0 other vars

Comments top

No comments for exponential-distribution. Log in to add a comment.