/*------------------------------------------------------------- Copyright (C) 2000 Sebastian Will. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for NON-COMMERCIAL purposes and without fee is hereby granted provided that this copyright notice appears in all copies. THE AUTHOR AND PUBLISHER MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THE AUTHORS AND PUBLISHER SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. -------------------------------------------------------------*/ Programs to generate the distribution of mean square distances between random walks walks may be either self avoiding or not mean square distances may be computed from distance matrices or from kind of absolute moves two programs are provided to create the distribution data walks generates random walks and outputs the distances hist computes histogram from the output of walks (e.g. suitable for gnuplot) the programs may be configured by defining constants in the program text, short explanation of constants is given by comments (after configuration) compile with make generate input for gnuplot with walks | hist > test show distribution with gnuplot and in gnuplot type, e.g. plot "test" with boxes