Class BoxMullerTransform
java.lang.Object
de.florianmichael.rclasses.math.integration.BoxMullerTransform
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubledistribution(Random random, double min, double max, double mean, double sigma) static floatdistribution(Random random, float min, float max, float mean, float sigma)
-
Constructor Details
-
BoxMullerTransform
public BoxMullerTransform()
-
-
Method Details
-
distribution
- Parameters:
random- The random object to use.min- The minimum value.max- The maximum value.mean- The mean value.sigma- The sigma value.- Returns:
- A random number between the minimum and maximum value, with the given mean and sigma.
-
distribution
- Parameters:
random- The random object to use.min- The minimum value.max- The maximum value.mean- The mean value.sigma- The sigma value.- Returns:
- A random number between the minimum and maximum value, with the given mean and sigma.
-