@Test public void testLength() { System.out.println("length"); WeibullDistribution instance = new WeibullDistribution(1.5, 1.0); instance.rand(); assertEquals(2, instance.length()); }
@Override public int length() { return 2; }
WeibullDistribution extends AbstractDistribution { @Override public int length() { return 2; } }
WeibullDistribution extends AbstractDistribution { @Override public int length() { return 2; } WeibullDistribution(double k);  WeibullDistribution(double k, double lambda); }
WeibullDistribution extends AbstractDistribution { @Override public int length() { return 2; } WeibullDistribution(double k);  WeibullDistribution(double k, double lambda); @Override int length(); @Override double mean(); @Override double variance(); @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); }
WeibullDistribution extends AbstractDistribution { @Override public int length() { return 2; } WeibullDistribution(double k);  WeibullDistribution(double k, double lambda); @Override int length(); @Override double mean(); @Override double variance(); @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); final double k; final double lambda; }