public class TensorPoisson
extends java.lang.Object
Constructor and Description |
---|
TensorPoisson() |
Modifier and Type | Method and Description |
---|---|
static DoubleTensor |
logPmf(DoubleTensor mu,
IntegerTensor k) |
static double |
pmf(double mu,
int k) |
static int |
sample(double mu,
KeanuRandom random) |
static IntegerTensor |
sample(int[] shape,
DoubleTensor mu,
KeanuRandom random) |
public static IntegerTensor sample(int[] shape, DoubleTensor mu, KeanuRandom random)
public static int sample(double mu, KeanuRandom random)
public static DoubleTensor logPmf(DoubleTensor mu, IntegerTensor k)
public static double pmf(double mu, int k)