Description
In relation to RNG-41, I propose to create a LogNormalSampler base class:
class LogNormalSampler { protected LogNormalSampler(NormalizedGaussianSampler gaussian, double scale, double shape) { // ... } }
Derived (public) classes will differ by the algorithm used to generate normalized Gaussian deviates.