public class Convolution extends AbstractFunction
DIMENSION_PROPERTY
Constructor and Description |
---|
Convolution(Function one,
Function two,
float stepSize,
float window) |
Modifier and Type | Method and Description |
---|---|
Convolution |
clone() |
Function |
getFunctionOne() |
Function |
getFunctionTwo() |
float |
getStepSize() |
float |
getWindow() |
float |
map(float[] from) |
void |
setFunctionOne(Function function) |
void |
setFunctionTwo(Function function) |
void |
setStepSize(float stepSize) |
void |
setWindow(float window) |
getCode, getDimension, getName, multiMap, setCode, setName
public Convolution(Function one, Function two, float stepSize, float window)
one
- First of two functions to convolve togethertwo
- Second of two functions to convolve togetherstepSize
- Step size at which to numerically evaluate convolution integralwindow
- Window over which to evaluate convolution integralpublic Function getFunctionOne()
public void setFunctionOne(Function function)
function
- First of two functions to convolve togetherpublic Function getFunctionTwo()
public void setFunctionTwo(Function function)
function
- Second of two functions to convolve togetherpublic float getStepSize()
public void setStepSize(float stepSize)
stepSize
- Step size at which to numerically evaluate convolution integralpublic float getWindow()
public void setWindow(float window)
window
- Window over which to evaluate convolution integralpublic float map(float[] from)
map
in interface Function
map
in class AbstractFunction
from
- Must have same length as getDimension()AbstractFunction.map(float[])
public Convolution clone() throws java.lang.CloneNotSupportedException
clone
in interface Function
clone
in class AbstractFunction
java.lang.CloneNotSupportedException
- is super does not support clone