public class Sinc extends Object implements DifferentiableUnivariateFunction
sinc(x) = 1 if x = 0,
sin(x) / x otherwise.
| Constructor and Description |
|---|
Sinc()
The sinc function,
sin(x) / x. |
Sinc(boolean normalized)
Instantiates the sinc function.
|
| Modifier and Type | Method and Description |
|---|---|
UnivariateFunction |
derivative()
Returns the derivative of the function
|
double |
value(double x)
Compute the value of the function.
|
public Sinc()
sin(x) / x.public Sinc(boolean normalized)
normalized - If true, the function is
sin(πx) / πx, otherwise sin(x) / x.public double value(double x)
value in interface UnivariateFunctionx - Point at which the function value should be computed.public UnivariateFunction derivative()
derivative in interface DifferentiableUnivariateFunctionCopyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.