The Computational Beauty of Nature
Computer Explorations of Fractals, Chaos,
Complex Systems, and Adaptation

About the Book
  · title page
  · home*
  · cover artwork
  · jacket text
  · table of contents
  · the author*
  · ordering information
Book Contents
  · three themes
  · part synopses
  · selected excerpts
  · all figures from book
  · quotes from book
  · glossary from book
  · bibliography
  · slide show
Source Code
  · overview &
  · FAQ list*
  · download source code
  · java applets
  · news*
  · reviews & awards
  · errata
  · for educators
  · bibliography (BibTeX format)
  · other links
GEN1D Documentation



       gen1d - generate time series from a one-dimensional map


       gen1d -help
       gen1d  [-points integer] [-skip integer] [-r double] [-aux
              double] [-x0 double] [-func string]


       A time series data set is generated by  a  one-dimensional
       map according to the specified options.  See the MAPS sec-
       tion of the manual page for details of what maps are  sup-
       ported.   User  defined  maps  can  be  added  to the file
       maps1d.c, but you must recompile the program.


       -points integer
              Number of points to plot.

       -skip integer
              Number of initial points to skip.

       -r double
              Value for the r parameter.

       -aux double
              Auxiliary map parameter.

       -x0 double
              Initial value for x.

       -func string
              Map function to use (one of 'log',  'tent',  'sin',
              or 'gauss').


       The following four one-dimensional maps are allowed:

       Logistic Map:
              x(t+1) = 4 * r * x(t) * (1.0 - x(t))

       Tent Map:
              x(t+1) = (x(t) <= 0.5) ? 2 * r * x(t) : 2r * (1.0 -

       Sine Map:
              x(t+1) = sin(x(t) * PI * aux * 2 * r) / 2 + 0.5

       Gaussian Map:
              x(t+1) = r * exp(-aux * (x(t)  -  0.5)  *  (x(t)  -

       See  the  file  "maps1d.c"  to see how to add user-defined



       Use a plotting program (such as gnuplot) or a  spreadsheet
       to plot the data.


       No  sanity  checks  are performed to make sure that any of
       the options make sense.


       Copyright (c) 1997, Gary William Flake.

       Permission granted for any use according to  the  standard
       GNU ``copyleft'' agreement provided that the author's com-
       ments are neither modified nor removed.   No  warranty  is
       given or implied.

Copyright © Gary William Flake, 1998-2002. All Rights Reserved. Last modified: 30 Nov 2002