|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.math.impl.AbstractFunction
ca.nengo.math.impl.PoissonPDF
public class PoissonPDF
A Poisson distribution.
| Field Summary |
|---|
| Fields inherited from class ca.nengo.math.impl.AbstractFunction |
|---|
DIMENSION_PROPERTY |
| Constructor Summary | |
|---|---|
PoissonPDF(float rate)
|
|
| Method Summary | |
|---|---|
PDF |
clone()
|
float |
map(float[] from)
|
float[] |
sample()
|
| Methods inherited from class ca.nengo.math.impl.AbstractFunction |
|---|
getDimension, multiMap |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ca.nengo.math.Function |
|---|
getDimension, multiMap |
| Constructor Detail |
|---|
public PoissonPDF(float rate)
rate - The mean & variance of the distribution| Method Detail |
|---|
public float map(float[] from)
map in interface Functionmap in class AbstractFunctionfrom - Must have same length as getDimension()
AbstractFunction.map(float[])public float[] sample()
sample in interface PDFPDF.sample()
public PDF clone()
throws java.lang.CloneNotSupportedException
clone in interface Functionclone in interface PDFclone in class AbstractFunctionjava.lang.CloneNotSupportedExceptionObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||