Class Sigmoid

    • Constructor Detail

      • 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 Detail

      • value

        public double value​(double x)
        Compute the value of the function.
        Specified by:
        value in interface UnivariateFunction
        Parameters:
        x - Point at which the function value should be computed.
        Returns:
        the value of the function.