public class SineFunction extends Object implements UnivariateDifferentiableFunction
Constructor and Description |
---|
SineFunction(double c,
UnivariateDifferentiableFunction f)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
DerivativeStructure |
value(DerivativeStructure t)
Simple mathematical function.
|
double |
value(double x)
Compute the value of the function.
|
public SineFunction(double c, UnivariateDifferentiableFunction f)
c
- multiplicative coefficientf
- an univariate function that returns an angle in radianspublic 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.
Assumes t is has only one variable
value
in interface UnivariateDifferentiableFunction
t
- function input valueCopyright © 2023 CNES. All rights reserved.