public class CosineFunction extends Object implements UnivariateDifferentiableFunction
| Constructor and Description |
|---|
CosineFunction(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 CosineFunction(double c,
UnivariateDifferentiableFunction f)
c - multiplicative coefficientf - an univariate function that returns an angle in radianspublic double value(double x)
value in interface UnivariateFunctionx - 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 UnivariateDifferentiableFunctiont - function input valueCopyright © 2025 CNES. All rights reserved.