----------------------------------------------------------------------------
----------------------------------------------------------------------------
FUNCT-3.1 
----------------------------------------------------------------------------
----------------------------------------------------------------------------

The program funct is devoted to the (numerical) study of real or complex
functions f(x) of one real variable x, and to plane geometry. It can also 
produce graphics on X11 windows, Postscript files or PNG files. 

funct uses the command interpreter library interpcom.
It may be useful to read a part of the documentation of interpcom before using
funct, especially chapters 4 ("Programming with the command interpreter") and 
10 ("List of available commands").

A binary package containing a statically linked version of 'funct', can be
found at
	http://www.math.jussieu.fr/~drezet

------------------------------------------------------------------------------

Requirements :


 -- The version 3.1 of the command interpreter library interpcom, that can
    be found at
        ftp://ftp.ibiblio.org/pub/system/shells
    or
	http://www.math.jussieu.fr/~drezet
    (version 2.4 may also work).
 -- A part of the cephes library of special functions. The cephes library of 
    functions can be found at
	ftp://ftp.metalab.unc.edu/pub/Linux/devel/lang/c
    Only the library of double precision routines (libmd.a) is used in funct.
 -- The gsl library (for the FFT routines) that can be found at
        ftp://alpha.gnu.org/gnu/

The graphic part of funct can be built in 4 ways :
First way : the libplot library is needed. It is a part of the
    plotutils package, that can be found at
        ftp://ftp.gnu.org/gnu
Second way : the g2 library is needed. It can be found at
	http://g2.sourceforge.net
    This library uses the gd library (devoted to PNG images). It can be 
    found at
	ftp://ftp.boutell.com/pub/boutell/gd/
For the two other ways : the following are needed
 -- For Postscript and PNG graphics : the g2 graphical library
 -- The ggi or allegro graphical libraries. Allegro can be found at
        http://alleg.sourceforge.net/
    and ggi at
        http://www.ggi-project.org/

------------------------------------------------------------------------------

Installation :

Remove the file .funct in your home directory if you have used a previous
version of funct.
Type
	make
The following options will be proposed  :
options :
          make with-ggi      
          make with-allegro  
          make with-noX
          make with-plot
          make with-g2
          make clean           : deletes the object files
          make clean-all       : deletes the object files
                                 and the executables

Funct uses libplot, g2, ggi or allegro for X11 graphics. 'make with-ggi' will
produce the executable funct_ggi ,'make with-allegro' will produce
funct_allegro, 'make with-g2' will produce funct_g2 and 'make with-plot' will
produce 'funct-plot in the directory ./bin . 'make with-noX' produces a version
with no graphics at all and is only used for debugging purposes.
The graphic part of the documentation in Postscript will be built with the
executable. The PNG version of these graphics is already present in the 
directory ./doc/html
.

The makefile supposes that the interpcom library has been installed together
with cephes, gd, g2, gsl and ggi, allegro or libplot. The corresponding variables
INTERPCOM, CONVERT, CEPHES and GRAPH can be modified. For example INTERPCOM 
could be defined as :
INTERPCOM=where-interpcom_library_is/libinter.a
CONVERT gives the location of the utility interp-convert, which is a part
of the interpcom package. The variable LINE_ED_LIB should correspond to the
command line editing library that is used by interpcom. The default is GNU
readline library.

The PNG version of these graphics are in the 
directory ./doc/html  .

To see a demo program type the commands in funct_allegro, funct_ggi or
funct-plot

load demo.cmd
all
load geom.cmd
all_geom


------------------------------------------------------------------------------


COPYING 

This software is freely distributable under the GNU General Public License, 
(in the file COPYING).






