@Test public void testLength() { System.out.println("length"); ExponentialDistribution instance = new ExponentialDistribution(1.0); instance.rand(); assertEquals(1, instance.length()); }
@Override public int length() { return 1; }
ExponentialDistribution extends AbstractDistribution implements ExponentialFamily { @Override public int length() { return 1; } }
ExponentialDistribution extends AbstractDistribution implements ExponentialFamily { @Override public int length() { return 1; } ExponentialDistribution(double lambda); }
ExponentialDistribution extends AbstractDistribution implements ExponentialFamily { @Override public int length() { return 1; } ExponentialDistribution(double lambda); static ExponentialDistribution fit(double[] data); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override String toString(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); @Override Mixture.Component M(double[] x, double[] posteriori); }
ExponentialDistribution extends AbstractDistribution implements ExponentialFamily { @Override public int length() { return 1; } ExponentialDistribution(double lambda); static ExponentialDistribution fit(double[] data); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override String toString(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); @Override Mixture.Component M(double[] x, double[] posteriori); final double lambda; }