.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13. .TH GBRAND "1" "June 2021" "gbrand 6.2" "User Commands" .SH NAME gbrand \- Sampling from random distributions .SH SYNOPSIS .B gbrand [\fI\,options\/\fR] \fI\,NAME PARAMETERS\/\fR... .SH DESCRIPTION Generates a grid of i.i.d. samples from a distribution. The name of the distribution and its parameters are specified on the command line. the column index. Indeces start from 1. If more than one function are provided they are printed one after the other. The type of random number generator and the default seed can be set with the environment variables GSL_RNG_TYPE and GSL_RNG_SEED, respectively, as documented in GSL manual. .SH OPTIONS .TP \fB\-r\fR specify number of rows (default 1) .TP \fB\-c\fR specify number of columns (default 1) .TP \fB\-R\fR set the seed (default 1) .TP \fB\-v\fR verbose mode .TP \fB\-h\fR this help .SS "List of valid distributions (with parameters):" .TP beta a,b = shape parameters .TP binomial p = probability, N = number of trials .TP bivariate\-gaussian sigmax = x std.dev., sigmay = y std.dev., rho = correlation .TP cauchy a = scale parameter .TP chisq nu = degrees of freedom .TP dir\-2d none .TP dir\-3d none .TP dir\-nd n1 = number of dimensions of hypersphere .TP erlang a = scale parameter, b = order .TP exponential mu = mean value .TP exppow a = scale parameter, b = power (1=exponential, 2=gaussian) .TP aexppow m = mode, al = left scale, ar = right scale, bl = left shape, br = right shape .TP fdist nu1, nu2 = degrees of freedom parameters .TP flat a = lower limit, b = upper limit .TP gamma a = order, b = scale .TP gaussian\-tail a = lower limit, sigma = standard deviation .TP gaussian sigma = standard deviation .TP geometric p = bernoulli trial probability of success .TP gumbel1 a = order, b = scale parameter .TP gumbel2 a = order, b = scale parameter .TP hypergeometric n1 = # tagged, n2 = # untagged, t = number of trials .TP laplace a = scale parameter .TP landau none .TP levy c = scale, a = power (1=cauchy, 2=gaussian) .TP levy\-skew c = scale, a = power (1=cauchy, 2=gaussian), b = skew .TP logarithmic p = probability .TP logistic a = scale parameter .TP lognormal zeta = location parameter, sigma = scale parameter .TP negative\-binomial p = probability, a = order .TP pareto a = power, b = scale parameter .TP pascal p = probability, n = order (integer) .TP poisson mu = scale parameter .TP rayleigh\-tail a = lower limit, sigma = scale parameter .TP rayleigh sigma = scale parameter .TP tdist nu = degrees of freedom .TP ugaussian\-tail a = lower limit .TP ugaussian none .TP weibull a = scale parameter, b = exponent .TP pareto3 a = power, b = exponential parameter, s = scale parameter .SH EXAMPLES .TP gbrand \-c 2 \-r 100 gaussian 2.5 generate two columns of 100 rows each sampling from a Gaussian distribution with mean 0 and standard deviation 2.5 .TP gbrand \-R 145 \-r 1000 exponential 1 one hundredth exponantial variates with parameters 1, the the seed of the RNG is set to 145 .TP gbrand \-r 10 flat 3 4 ten realizations of the r.v. uniformly distributed in [3,4] .SH AUTHOR Written by Giulio Bottazzi .SH "REPORTING BUGS" Report bugs to .PP .br Package home page .SH COPYRIGHT Copyright \(co 2001\-2018 Giulio Bottazzi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation; .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.