public class Logit extends Object implements UnivariateDifferentiableFunction, DifferentiableUnivariateFunction
| 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 |
|---|---|
UnivariateFunction |
derivative()
Deprecated.
as of 3.1, replaced by
value(DerivativeStructure) |
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 OutOfRangeException
value in interface UnivariateFunctionx - Point at which the function value should be computed.OutOfRangeException@Deprecated public UnivariateFunction derivative()
value(DerivativeStructure)derivative in interface DifferentiableUnivariateFunctionpublic DerivativeStructure value(DerivativeStructure t) throws OutOfRangeException
UnivariateDifferentiableFunction classes compute both the
value and the first derivative of the function.
value in interface UnivariateDifferentiableFunctiont - function input valueOutOfRangeException - if parameter is outside of function domainCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.