ca.nengo.math
Interface PDF

All Superinterfaces:
java.lang.Cloneable, Function, java.io.Serializable
All Known Implementing Classes:
ExponentialPDF, GaussianPDF, IndicatorPDF, PoissonPDF

public interface PDF
extends Function

Probability density function.

Author:
Bryan Tripp

Method Summary
 PDF clone()
           
 float[] sample()
           
 
Methods inherited from interface ca.nengo.math.Function
getDimension, map, multiMap
 

Method Detail

sample

float[] sample()
Returns:
A random sample from this density

clone

PDF clone()
          throws java.lang.CloneNotSupportedException
Specified by:
clone in interface Function
Throws:
java.lang.CloneNotSupportedException