Class StableSampler.TransformedStableSampler

java.lang.Object
org.apache.commons.rng.sampling.distribution.StableSampler
org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
All Implemented Interfaces:
ContinuousSampler, SharedStateContinuousSampler, SharedStateSampler<SharedStateContinuousSampler>
Enclosing class:
StableSampler

private static final class StableSampler.TransformedStableSampler extends StableSampler
Class for implementations of a stable distribution transformed by scale and location.
  • Field Details

    • sampler

      private final StableSampler sampler
      Underlying normalized stable sampler.
    • gamma

      private final double gamma
      The scale parameter.
    • delta

      private final double delta
      The location parameter.
  • Constructor Details

    • TransformedStableSampler

      TransformedStableSampler(StableSampler sampler, double gamma, double delta)
      Parameters:
      sampler - Normalized stable sampler.
      gamma - Scale parameter. Must be strictly positive.
      delta - Location parameter.
  • Method Details