public class Sigmoid extends Object implements UnivariateDifferentiableFunction
logit
function.
A more flexible version, the generalised logistic, is implemented
by the Logistic
class.Modifier and Type | Class and Description |
---|---|
static class |
Sigmoid.Parametric
Parametric function where the input array contains the parameters of
the logit function, ordered as follows:
Lower asymptote
Higher asymptote
|
Constructor and Description |
---|
Sigmoid()
Usual sigmoid function, where the lower asymptote is 0 and the higher
asymptote is 1.
|
Sigmoid(double loIn,
double hiIn)
Sigmoid 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 Sigmoid()
public Sigmoid(double loIn, double hiIn)
loIn
- Lower asymptote.hiIn
- Higher asymptote.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.