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 &
documentation
  · FAQ list*
  · download source code
  · java applets
Miscellany
  · news*
  · reviews & awards
  · errata
  · for educators
  · bibliography (BibTeX format)
  · other links
GEN1D Documentation


 



NAME

       gen1d - generate time series from a one-dimensional map


SYNOPSIS

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


DESCRIPTION

       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.


OPTIONS

       -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').


MAPS

       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 -
              x(t))

       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)  -
              0.5))

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

       maps.


MISCELLANY

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


BUGS

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


AUTHOR

       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