public class SmoothingFunction extends Object implements BinaryFunction<Double,Double,Double>
| Constructor and Description |
|---|
SmoothingFunction(double factor)
Creates a new smoothing function with the given factor.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
eval(Double val1,
Double val2)
Evaluates the function for the given elements.
|
public SmoothingFunction(double factor)
factor - some smoothing factor.public Double eval(Double val1, Double val2)
BinaryFunctioneval in interface BinaryFunction<Double,Double,Double>val1 - some elementval2 - some elementCopyright © 2018. All rights reserved.