@Test public void testEntropy() { System.out.println("entropy"); LogNormalDistribution instance = new LogNormalDistribution(1.0, 1.0); instance.rand(); assertEquals(2.418939, instance.entropy(), 1E-6); }
@Override public double entropy() { return entropy; }
LogNormalDistribution extends AbstractDistribution { @Override public double entropy() { return entropy; } }
LogNormalDistribution extends AbstractDistribution { @Override public double entropy() { return entropy; } LogNormalDistribution(double mu, double sigma); }
LogNormalDistribution extends AbstractDistribution { @Override public double entropy() { return entropy; } LogNormalDistribution(double mu, double sigma); static LogNormalDistribution fit(double[] data); @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); }
LogNormalDistribution extends AbstractDistribution { @Override public double entropy() { return entropy; } LogNormalDistribution(double mu, double sigma); static LogNormalDistribution fit(double[] data); @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 mu; final double sigma; }