annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man1/gsl-randist.1 @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 .\" Man page contributed by Dirk Eddelbuettel <edd@debian.org>
jpayne@68 2 .\" and released under the GNU General Public License
jpayne@68 3 .TH GSL-RANDIST 1 "" GNU
jpayne@68 4 .SH NAME
jpayne@68 5 gsl-randist - generate random samples from various distributions
jpayne@68 6 .SH SYNOPSYS
jpayne@68 7 .B gsl-randist seed n DIST param1 param2 [..]
jpayne@68 8 .SH DESCRIPTION
jpayne@68 9 .B gsl-randist
jpayne@68 10 is a demonstration program for the GNU Scientific Library.
jpayne@68 11 It generates n random samples from the distribution DIST using the distribution
jpayne@68 12 parameters param1, param2, ...
jpayne@68 13 .SH EXAMPLE
jpayne@68 14 Here is an example. We generate 10000 random samples from a Cauchy
jpayne@68 15 distribution with a width of 30 and histogram them over the range -100 to
jpayne@68 16 100, using 200 bins.
jpayne@68 17
jpayne@68 18 gsl-randist 0 10000 cauchy 30 | gsl-histogram -100 100 200 > histogram.dat
jpayne@68 19
jpayne@68 20 A plot of the resulting histogram will show the familiar shape of the
jpayne@68 21 Cauchy distribution with fluctuations caused by the finite sample
jpayne@68 22 size.
jpayne@68 23
jpayne@68 24 awk '{print $1, $3 ; print $2, $3}' histogram.dat | graph -T X
jpayne@68 25
jpayne@68 26 .SH SEE ALSO
jpayne@68 27 .BR gsl(3) ,
jpayne@68 28 .BR gsl-histogram(1) .
jpayne@68 29
jpayne@68 30 .SH AUTHOR
jpayne@68 31 .B gsl-randist
jpayne@68 32 was written by James Theiler and Brian Gough.
jpayne@68 33 Copyright 1996-2000; for copying conditions see the GNU General
jpayne@68 34 Public Licence.
jpayne@68 35
jpayne@68 36 This manual page was added by the Dirk Eddelbuettel
jpayne@68 37 <edd@debian.org>, the Debian GNU/Linux maintainer for
jpayne@68 38 .BR GSL .