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 |
|---|---|
double |
value(double x)
Compute the value of the function.
|
<T extends Derivative<T>> |
value(T t)
Compute the value for 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 UnivariateFunctionx - Point at which the function value should be computed.MathIllegalArgumentExceptionpublic <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 parameter is outside of function domainCopyright © 2016-2022 CS GROUP. All rights reserved.