List of usage examples for org.apache.commons.math.distribution ExponentialDistributionImpl ExponentialDistributionImpl
public ExponentialDistributionImpl(double mean)
From source file:org.renjin.Distributions.java
public static double dexp(final double x, final double rate, boolean log) { return d(new ExponentialDistributionImpl(1.0 / rate), x, log); }
From source file:org.renjin.Distributions.java
public static double pexp(final double q, final double rate, boolean lowerTail, boolean logP) { return p(new ExponentialDistributionImpl(1.0 / rate), q, lowerTail, logP); }
From source file:org.renjin.Distributions.java
public static double qexp(final double p, final double rate, boolean lowerTail, boolean logP) { return q(new ExponentialDistributionImpl(1.0 / rate), p, lowerTail, logP); }
From source file:org.renjin.primitives.random.Distributions.java
public static double dexp(@Recycle double x, @Recycle double mean, boolean log) { return d(new ExponentialDistributionImpl(mean), x, log); }
From source file:org.renjin.primitives.random.Distributions.java
public static double pexp(@Recycle double q, @Recycle double mean, boolean lowerTail, boolean logP) { return p(new ExponentialDistributionImpl(mean), q, lowerTail, logP); }
From source file:org.renjin.primitives.random.Distributions.java
public static double qexp(@Recycle double p, @Recycle double mean, boolean lowerTail, boolean logP) { return q(new ExponentialDistributionImpl(mean), p, lowerTail, logP); }
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal//from w ww.j av a2s .c o m public static double dexp(@Recycle double x, @Recycle double mean, boolean log) { return d(new ExponentialDistributionImpl(mean), x, log); }
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal// ww w . j av a 2 s.co m public static double pexp(@Recycle double q, @Recycle double mean, boolean lowerTail, boolean logP) { return p(new ExponentialDistributionImpl(mean), q, lowerTail, logP); }
From source file:org.renjin.stats.internals.Distributions.java
@DataParallel @Internal/*from w w w . j av a 2 s . c o m*/ public static double qexp(@Recycle double p, @Recycle double mean, boolean lowerTail, boolean logP) { return q(new ExponentialDistributionImpl(mean), p, lowerTail, logP); }
From source file:plugIns.layer3outputStrategy.stopAndGo_v0_001.ClientPlugIn.java
@Override public void constructor() { this.SECURITY_PARAMETER_MU = settings.getPropertyAsDouble("STOP_AND_GO_SECURITY_PARAMETER_MU"); this.USE_TIMESTAMPS = settings.getPropertyAsBoolean("STOP_AND_GO_USE_TIMESTAMPS"); this.MIN_INTER_MIX_DELAY = settings.getPropertyAsInt("STOP_AND_GO_MIN_INTER_MIX_DELAY"); this.MAX_INTER_MIX_DELAY = settings.getPropertyAsInt("STOP_AND_GO_MAX_INTER_MIX_DELAY"); this.MAX_INTER_MIX_DELAY = settings.getPropertyAsInt("STOP_AND_GO_MAX_INTER_MIX_DELAY"); this.MIN_CLIENT_MIX_DELAY = settings.getPropertyAsInt("STOP_AND_GO_MIN_CLIENT_MIX_DELAY"); this.MAX_CLIENT_MIX_DELAY = settings.getPropertyAsInt("STOP_AND_GO_MAX_CLIENT_MIX_DELAY"); this.MAX_CLOCK_DEVITION = settings.getPropertyAsInt("STOP_AND_GO_MAX_CLOCK_DEVITION"); this.expDist = new ExponentialDistributionImpl(1d / SECURITY_PARAMETER_MU); }