public class Logit extends Object implements UnivariateDifferentiableFunction
Modifier and Type | Class and Description |
---|---|
static class |
Logit.Parametric
Parametric function where the input array contains the parameters of
the logit function, ordered as follows:
Lower bound
Higher bound
|
Constructor and Description |
---|
Logit()
Usual logit function, where the lower bound is 0 and the higher
bound is 1.
|
Logit(double lo,
double hi)
Logit 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 Logit()
public Logit(double lo, double hi)
lo
- Lower bound of the function domain.hi
- Higher bound of the function domain.public double value(double x) throws MathIllegalArgumentException
value
in interface UnivariateFunction
x
- Point at which the function value should be computed.MathIllegalArgumentException
public DerivativeStructure value(DerivativeStructure t) throws MathIllegalArgumentException
UnivariateDifferentiableFunction
classes compute both the
value and the first derivative of the function.
value
in interface UnivariateDifferentiableFunction
t
- function input valueMathIllegalArgumentException
- if parameter is outside of function domainCopyright © 2016–2020 Hipparchus.org. All rights reserved.