public class Logit extends Object implements 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()
Returns the derivative of the 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)
value
in interface UnivariateFunction
x
- Point at which the function value should be computed.public UnivariateFunction derivative()
derivative
in interface DifferentiableUnivariateFunction
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.