logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

plgen - generate samples from a power-law distribution

Description

       Generates  a  given  number of samples from a power-law distribution with an optional exponential cutoff.
       The pdf being sampled is given as follows:

       P(k) = C * k^(-gamma) * exp(-k/kappa)

       where C is an appropriate normalization constant. gamma is given by the  second  command  line  argument,
       kappa is given by the -k switch.

Name

       plgen - generate samples from a power-law distribution

Options

-h     shows this help message

       -v     shows version information

       -c     generate continuous samples

       -k KAPPA
              use exponential cutoff with kappa = KAPPA

       -o OFFSET
              add OFFSET to each generated sample

       -s SEED
              use SEED to seed the random number generator

       -x XMIN
              generate a power-law distribution that starts at XMIN

plfit                                               July 2021                                           PLGEN(1)

Synopsis

plgen [OPTIONS] num_samplesgamma [kappa]

See Also