Documentation of 'org.apache.commons.math.distribution.ZipfDistribution' Java class
ZipfDistribution
org.apache.commons.math.distribution

Interface ZipfDistribution

    • Method Detail

      • getNumberOfElements

        int getNumberOfElements()
        Get the number of elements (e.g. corpus size) for the distribution.
        Returns:
        the number of elements
      • setNumberOfElements

        @Deprecated
        void setNumberOfElements(int n)
        Deprecated. as of v2.1
        Set the number of elements (e.g. corpus size) for the distribution. The parameter value must be positive; otherwise an IllegalArgumentException is thrown.
        Parameters:
        n - the number of elements
        Throws:
        java.lang.IllegalArgumentException - if n ≤ 0
      • getExponent

        double getExponent()
        Get the exponent characterising the distribution.
        Returns:
        the exponent
      • setExponent

        @Deprecated
        void setExponent(double s)
        Deprecated. as of v2.1
        Set the exponent characterising the distribution. The parameter value must be positive; otherwise an IllegalArgumentException is thrown.
        Parameters:
        s - the exponent
        Throws:
        java.lang.IllegalArgumentException - if s ≤ 0.0

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.