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 normalized)
Instantiates the sinc function.
|
| Modifier and Type | Method and Description |
|---|---|
double |
value(double x)
Compute the value of the function.
|
<T extends Derivative<T>> |
value(T t)
Compute the value for 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 <T extends Derivative<T>> T value(T t) throws MathIllegalArgumentException
value in interface UnivariateDifferentiableFunctionT - the type of the field elementst - the point for which the function value should be computedMathIllegalArgumentException - if x does not
satisfy the function's constraints (argument out of bound, or unsupported
derivative order for example)Copyright © 2016-2022 CS GROUP. All rights reserved.