List of usage examples for org.apache.commons.math.distribution CauchyDistributionImpl CauchyDistributionImpl
public CauchyDistributionImpl(double median, double s)
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal/*ww w.j a va 2s . c o m*/ public static double dcauchy(@Recycle double x, @Recycle double location, @Recycle double scale, boolean log) { return d(new CauchyDistributionImpl(location, scale), x, log); }
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal// w ww . j av a 2 s .co m public static double pcauchy(@Recycle double q, @Recycle double location, @Recycle double scale, boolean lowerTail, boolean logP) { return p(new CauchyDistributionImpl(location, scale), q, lowerTail, logP); }
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal//from w ww . j a va 2 s . c o m public static double qcauchy(@Recycle double p, @Recycle double location, @Recycle double scale, boolean lowerTail, boolean logP) { return q(new CauchyDistributionImpl(location, scale), p, lowerTail, logP); }