@Test public void testLogp() { System.out.println("logp"); KernelDensity instance = new KernelDensity(x); double expResult = -2.29044906; double result = instance.logp(3.5); assertEquals(expResult, result, 1E-8); }
@Override public double logp(double x) { return Math.log(p(x)); }
KernelDensity implements Distribution { @Override public double logp(double x) { return Math.log(p(x)); } }
KernelDensity implements Distribution { @Override public double logp(double x) { return Math.log(p(x)); } KernelDensity(double[] x);  KernelDensity(double[] x, double h); }
KernelDensity implements Distribution { @Override public double logp(double x) { return Math.log(p(x)); } 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 logp(double x) { return Math.log(p(x)); } 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);  }