DOKK / manpages / debian 12 / plfit / plgen.1.en
PLGEN(1) User Commands PLGEN(1)

plgen - generate samples from a power-law distribution

plgen [OPTIONS] num_samples gamma [kappa]

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.

shows this help message
shows version information
generate continuous samples
use exponential cutoff with kappa = KAPPA
add OFFSET to each generated sample
use SEED to seed the random number generator
generate a power-law distribution that starts at XMIN
July 2021 plfit