Example usage for org.apache.commons.math.distribution PoissonDistributionImpl PoissonDistributionImpl

List of usage examples for org.apache.commons.math.distribution PoissonDistributionImpl PoissonDistributionImpl

Introduction

In this page you can find the example usage for org.apache.commons.math.distribution PoissonDistributionImpl PoissonDistributionImpl.

Prototype

public PoissonDistributionImpl(double p) 

Source Link

Document

Create a new Poisson distribution with the given the mean.

Usage

From source file:org.renjin.Distributions.java

public static double ppois(final double q, final double lambda, boolean lowerTail, boolean logP) {
    return p(new PoissonDistributionImpl(lambda), q, lowerTail, logP);
}

From source file:org.renjin.Distributions.java

public static double qpois(double p, double lambda, boolean lowerTail, boolean logP) {
    return q(new PoissonDistributionImpl(lambda), p, lowerTail, logP);
}

From source file:org.renjin.primitives.random.Distributions.java

public static double dpois(@Recycle double x, @Recycle double lambda, boolean log) {
    return d(new PoissonDistributionImpl(lambda), x, log);
}

From source file:org.renjin.primitives.random.Distributions.java

public static double ppois(@Recycle double q, @Recycle double lambda, boolean lowerTail, boolean logP) {
    return p(new PoissonDistributionImpl(lambda), q, lowerTail, logP);
}

From source file:org.renjin.stats.internals.Distributions.java

@DataParallel
@Internal//  ww w.  j av a  2s. c  o  m
public static double dpois(@Recycle double x, @Recycle double lambda, boolean log) {
    return d(new PoissonDistributionImpl(lambda), x, log);
}

From source file:org.renjin.stats.internals.Distributions.java

@DataParallel
@Internal//from  w w w  . j a  v  a 2s . c om
public static double ppois(@Recycle double q, @Recycle double lambda, boolean lowerTail, boolean logP) {
    return p(new PoissonDistributionImpl(lambda), q, lowerTail, logP);
}