.\" It was generated by help2man 1.48.3 and .\" slightly modified by hand by Jerome Benoit .\" on behalf of the Debian Science Team. .TH PLGEN "1" "July 2021" "plfit" "User Commands" .SH NAME plgen \- generate samples from a power-law distribution .SH SYNOPSIS .B plgen [\fI\,OPTIONS\/\fR] \fI\,num_samples gamma \/\fR[\fI\,kappa\/\fR] .SH 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: .PP P(k) = C * k^(\fB\-gamma\fR) * exp(\fB\-k\fR/kappa) .PP where C is an appropriate normalization constant. gamma is given by the second command line argument, kappa is given by the \fB\-k\fR switch. .SH OPTIONS .TP \fB\-h\fR shows this help message .TP \fB\-v\fR shows version information .TP \fB\-c\fR generate continuous samples .TP \fB\-k\fR KAPPA use exponential cutoff with kappa = KAPPA .TP \fB\-o\fR OFFSET add OFFSET to each generated sample .TP \fB\-s\fR SEED use SEED to seed the random number generator .TP \fB\-x\fR XMIN generate a power\-law distribution that starts at XMIN