Class Logistic

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Logistic.Parametric
      Parametric function where the input array contains the parameters of the logistic function, ordered as follows: k m b q a n
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double a
      Lower asymptote.
      private double b
      Growth rate.
      private double k
      Upper asymptote.
      private double m
      Abscissa of maximum growth.
      private double oneOverN
      Parameter that affects near which asymptote maximum growth occurs.
      private double q
      Parameter that affects the position of the curve along the ordinate axis.
    • Constructor Summary

      Constructors 
      Constructor Description
      Logistic​(double k, double m, double b, double q, double a, double n)  
    • Field Detail

      • a

        private final double a
        Lower asymptote.
      • k

        private final double k
        Upper asymptote.
      • b

        private final double b
        Growth rate.
      • oneOverN

        private final double oneOverN
        Parameter that affects near which asymptote maximum growth occurs.
      • q

        private final double q
        Parameter that affects the position of the curve along the ordinate axis.
      • m

        private final double m
        Abscissa of maximum growth.
    • Constructor Detail

      • Logistic

        public Logistic​(double k,
                        double m,
                        double b,
                        double q,
                        double a,
                        double n)
                 throws NotStrictlyPositiveException
        Parameters:
        k - If b > 0, value of the function for x going towards +∞. If b < 0, value of the function for x going towards -∞.
        m - Abscissa of maximum growth.
        b - Growth rate.
        q - Parameter that affects the position of the curve along the ordinate axis.
        a - If b > 0, value of the function for x going towards -∞. If b < 0, value of the function for x going towards +∞.
        n - Parameter that affects near which asymptote the maximum growth occurs.
        Throws:
        NotStrictlyPositiveException - if n <= 0.