@Test public void testToString() { assertEquals("org.apache.mahout.math.jet.random.Exponential(3.1000)", new Exponential(3.1, null).toString()); assertEquals("org.apache.mahout.math.jet.random.Exponential(3.1000)", new Exponential(3.1, null).toString()); }
@Override public String toString() { return String.format(Locale.ENGLISH, "%s(%.4f)", this.getClass().getName(), lambda); }
Exponential extends AbstractContinousDistribution { @Override public String toString() { return String.format(Locale.ENGLISH, "%s(%.4f)", this.getClass().getName(), lambda); } }
Exponential extends AbstractContinousDistribution { @Override public String toString() { return String.format(Locale.ENGLISH, "%s(%.4f)", this.getClass().getName(), lambda); } Exponential(double lambda, Random randomGenerator); }
Exponential extends AbstractContinousDistribution { @Override public String toString() { return String.format(Locale.ENGLISH, "%s(%.4f)", this.getClass().getName(), 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 { @Override public String toString() { return String.format(Locale.ENGLISH, "%s(%.4f)", this.getClass().getName(), 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();  }