Functionally separate distribution representation from sampling
Closed this issue · 1 comments
colgreen commented
The various distribution classes all currently wrap an inner IRandomSource in order to provide methods for sampling from the distribution(s). A cleaner pattern is to have distribution classes that represent the distribution only, and distribution sampler classes (and/or utility methods) that sample from them.
In addition, the distribution classes in the Redzen.Random namespace should probably be moved in the Redzen.Numerics namespace.