@Test public void testLength() { System.out.println("length"); ShiftedGeometricDistribution instance = new ShiftedGeometricDistribution(0.3); instance.rand(); assertEquals(1, instance.length()); }
@Override public int length() { return 1; }
ShiftedGeometricDistribution extends DiscreteDistribution implements DiscreteExponentialFamily { @Override public int length() { return 1; } }
ShiftedGeometricDistribution extends DiscreteDistribution implements DiscreteExponentialFamily { @Override public int length() { return 1; } ShiftedGeometricDistribution(double p); }
ShiftedGeometricDistribution extends DiscreteDistribution implements DiscreteExponentialFamily { @Override public int length() { return 1; } ShiftedGeometricDistribution(double p); static ShiftedGeometricDistribution fit(int[] 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(int k); @Override double logp(int k); @Override double cdf(double k); @Override double quantile(double p); @Override DiscreteMixture.Component M(int[] x, double[] posteriori); }
ShiftedGeometricDistribution extends DiscreteDistribution implements DiscreteExponentialFamily { @Override public int length() { return 1; } ShiftedGeometricDistribution(double p); static ShiftedGeometricDistribution fit(int[] 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(int k); @Override double logp(int k); @Override double cdf(double k); @Override double quantile(double p); @Override DiscreteMixture.Component M(int[] x, double[] posteriori); final double p; }