/** * Access the number of degrees of freedom. * * @return the degrees of freedom. */ public double getDegreesOfFreedom() { return gamma.getShape() * 2.0; }
/** * Access the number of degrees of freedom. * * @return the degrees of freedom. */ public double getDegreesOfFreedom() { return gamma.getShape() * 2.0; }
/** * Access the number of degrees of freedom. * * @return the degrees of freedom. */ public double getDegreesOfFreedom() { return gamma.getShape() * 2.0; }
} else if (c == GammaDistribution.class) { GammaDistribution gd = (GammaDistribution) d; j.writeNumberField("shape", gd.getShape()); j.writeNumberField("scale", gd.getScale()); } else if (c == LevyDistribution.class) {
} else if (c == GammaDistribution.class) { GammaDistribution gd = (GammaDistribution) d; j.writeNumberField("shape", gd.getShape()); j.writeNumberField("scale", gd.getScale()); } else if (c == LevyDistribution.class) {