|
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.PDFFunction
public class PDFFunction
A Function that produces outputs drawn from a given distribution.
Field Summary |
---|
Fields inherited from class ca.nengo.math.impl.AbstractFunction |
---|
DIMENSION_PROPERTY |
Constructor Summary | |
---|---|
PDFFunction(PDF pdf)
|
Method Summary | |
---|---|
PDF |
getPDF()
|
float |
map(float[] from)
|
void |
setPDF(PDF pdf)
|
Methods inherited from class ca.nengo.math.impl.AbstractFunction |
---|
clone, getCode, getDimension, getName, multiMap, setCode, setName |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFFunction(PDF pdf)
signal
- sequence defining output (each element is a (potentially) multidimensional output)dimension
- Dimension of signal on which to base Function outputMethod Detail |
---|
public PDF getPDF()
public void setPDF(PDF pdf)
pdf
- input PDFpublic float map(float[] from)
map
in interface Function
map
in class AbstractFunction
from
- Must have same length as getDimension()
AbstractFunction.map(float[])
|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |