Class UnitSphereSamplerBenchmark.SamplerData

    • Method Detail

      • getSize

        public int getSize()
        Gets the size.
        Returns:
        the size
      • setup

        public void setup()
        Create the source of randomness.
      • createSampler

        protected abstract ObjectSampler<double[]> createSampler​(org.apache.commons.rng.UniformRandomProvider rng)
        Creates the sampler.
        Parameters:
        rng - the source of randomness
        Returns:
        the sampler