java.lang.Object
org.apache.commons.math3.analysis.function.Sigmoid
All Implemented Interfaces:
DifferentiableUnivariateFunction, UnivariateDifferentiableFunction, UnivariateFunction

Sigmoid function. It is the inverse of the logit function. A more flexible version, the generalised logistic, is implemented by the Logistic class.
Since:
3.0
  • Field Details

    • lo

      private final double lo
      Lower asymptote.
    • hi

      private final double hi
      Higher asymptote.
  • Constructor Details

    • Sigmoid

      public Sigmoid()
      Usual sigmoid function, where the lower asymptote is 0 and the higher asymptote is 1.
    • Sigmoid

      public Sigmoid(double lo, double hi)
      Sigmoid function.
      Parameters:
      lo - Lower asymptote.
      hi - Higher asymptote.
  • Method Details