@Test public void testMean() { System.out.println("mean"); KernelDensity instance = new KernelDensity(x); double expResult = 3.55417; double result = instance.mean(); assertEquals(expResult, result, 1E-5); }
@Override public double mean() { return mean; }
KernelDensity implements Distribution { @Override public double mean() { return mean; } }
KernelDensity implements Distribution { @Override public double mean() { return mean; } KernelDensity(double[] x);  KernelDensity(double[] x, double h); }
KernelDensity implements Distribution { @Override public double mean() { return mean; } KernelDensity(double[] x);  KernelDensity(double[] x, double h); double bandwidth(); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); @Override double likelihood(double[] x); @Override double logLikelihood(double[] x); }
KernelDensity implements Distribution { @Override public double mean() { return mean; } KernelDensity(double[] x);  KernelDensity(double[] x, double h); double bandwidth(); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); @Override double likelihood(double[] x); @Override double logLikelihood(double[] x);  }