@Test public void testSetState() { Exponential dist = new Exponential(13.0, null); for (double lambda = 0.1; lambda < 1000; lambda *= 1.3) { dist.setState(lambda); checkPdf(dist, lambda); } }
public void setState(double lambda) { this.lambda = lambda; }
Exponential extends AbstractContinousDistribution { public void setState(double lambda) { this.lambda = lambda; } }
Exponential extends AbstractContinousDistribution { public void setState(double lambda) { this.lambda = lambda; } Exponential(double lambda, Random randomGenerator); }
Exponential extends AbstractContinousDistribution { public void setState(double lambda) { this.lambda = lambda; } Exponential(double lambda, Random randomGenerator); @Override double cdf(double x); @Override double nextDouble(); @Override double pdf(double x); void setState(double lambda); @Override String toString(); }
Exponential extends AbstractContinousDistribution { public void setState(double lambda) { this.lambda = lambda; } Exponential(double lambda, Random randomGenerator); @Override double cdf(double x); @Override double nextDouble(); @Override double pdf(double x); void setState(double lambda); @Override String toString();  }