test_class.file: singa-mathematics/src/test/java/bio/singa/mathematics/intervals/SamplerTest.java
test_class.identifier: SamplerTest
test_case.body: @Test
      @DisplayName("exponential sampling")
      void testExponentialSampling() {
          List<Double> secondSamples = Sampler.sampleExponentially(-3, 2, 1);
          assertEquals(secondSamples.get(0).doubleValue(), 0.001);
          assertEquals(secondSamples.get(1).doubleValue(), 0.01);
          assertEquals(secondSamples.get(2).doubleValue(), 0.1);
          assertEquals(secondSamples.get(3).doubleValue(), 1.0);
          assertEquals(secondSamples.get(4).doubleValue(), 10.0);
          assertEquals(secondSamples.get(5).doubleValue(), 100.0);
      }
test_case.class_method_signature: SamplerTest.testExponentialSampling()
test_case.full_signature: @Test @DisplayName("exponential sampling") void testExponentialSampling()
test_case.identifier: testExponentialSampling
test_case.invocations: sampleExponentially assertEquals doubleValue get assertEquals doubleValue get assertEquals doubleValue get assertEquals doubleValue get assertEquals doubleValue get assertEquals doubleValue get
test_case.modifiers: @Test @DisplayName("exponential sampling")
test_case.parameters: ()
test_case.return: void
test_case.signature: void testExponentialSampling()
focal_class.file: singa-mathematics/src/main/java/bio/singa/mathematics/intervals/Sampler.java
focal_class.identifier: Sampler
focal_class.class_method_signature: Sampler.sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.full_signature: public static List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.identifier: sampleMultiplicative
focal_class.modifiers: public static
focal_class.parameters: (double lowerBound, double upperBound, int numberOfSamples)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.class_method_signature: Sampler.sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.full_signature: public static List<Double> sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.identifier: sampleLogarithmic
focal_class.modifiers: public static
focal_class.parameters: (double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.class_method_signature: Sampler.sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.full_signature: public static List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.identifier: sampleExponentially
focal_class.modifiers: public static
focal_class.parameters: (int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_method.body: public static List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier) {
          List<Double> samples = new ArrayList<>();
          int numberOfSamples = largestExponent - smallestExponent + 1;
          for (Double samplingPoint : sampleMultiplicative(smallestExponent, largestExponent, numberOfSamples)) {
              samples.add(baseMultiplier * Math.pow(10, samplingPoint));
          }
          return samples;
      }
focal_method.class_method_signature: Sampler.sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_method.full_signature: public static List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_method.identifier: sampleExponentially
focal_method.invocations: sampleMultiplicative add pow
focal_method.modifiers: public static
focal_method.parameters: (int smallestExponent, int largestExponent, double baseMultiplier)
focal_method.return: List<Double>
focal_method.signature: List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)