|
Nengo.ca | ||||||||
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 |
---|
getCode, getDimension, getName, multiMap, setCode, setName |
Methods inherited from class java.lang.Object |
---|
equals, finalize, 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 distributionMethod Detail |
---|
public 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()
public PDF clone() throws java.lang.CloneNotSupportedException
clone
in interface Function
clone
in interface PDF
clone
in class AbstractFunction
java.lang.CloneNotSupportedException
- is super does not support clone
|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |