public class PoissonPDF extends AbstractFunction implements PDF
DIMENSION_PROPERTY
Constructor and Description |
---|
PoissonPDF(float rate) |
Modifier and Type | Method and Description |
---|---|
PDF |
clone() |
float |
map(float[] from) |
float[] |
sample() |
getCode, getDimension, getName, multiMap, setCode, setName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDimension, multiMap
public PoissonPDF(float rate)
rate
- The mean & variance of the distributionpublic float map(float[] from)
map
in interface Function
map
in class AbstractFunction
from
- Must have same length as getDimension()AbstractFunction.map(float[])
public float[] sample()
sample
in interface PDF
PDF.sample()