6.7
9 Probability Distributions
(require math/distributions) | package: math-lib |
The math/distributions module exports the following:
Distribution objects, which represent probability distributions
Functions that operate on distribution objects
The low-level flonum functions used to define distribution objects
Performance Warning: Using distribution objects in untyped Racket is currently 25-50 times slower than using them in Typed Racket, due to the overhead of checking higher-order contracts. We are working on it.
For now, if you need speed, either use the typed/racket language, or use just the low-level flonum functions, which are documented in Low-Level Distribution Functions.