public class Sinc extends Object implements UnivariateDifferentiableFunction
sinc(x) = 1 if x = 0,
sin(x) / x otherwise.
Constructor and Description |
---|
Sinc()
The sinc function,
sin(x) / x . |
Sinc(boolean normalizedIn)
Instantiates the sinc function.
|
Modifier and Type | Method and Description |
---|---|
DerivativeStructure |
value(DerivativeStructure t)
Simple mathematical function.
|
double |
value(double x)
Compute the value of the function.
|
public Sinc()
sin(x) / x
.public Sinc(boolean normalizedIn)
normalizedIn
- If true
, the function is sin(πx) / πx
, otherwise sin(x) / x
.public double value(double x)
value
in interface UnivariateFunction
x
- Point at which the function value should be computed.public DerivativeStructure value(DerivativeStructure t)
UnivariateDifferentiableFunction
classes compute both the value and the first derivative of the function.
value
in interface UnivariateDifferentiableFunction
t
- function input valueCopyright © 2019 CNES. All rights reserved.