/* ** SLOPE_FOR: C-XSC classes for one- and multidimensional (interval) ** slope arithmetic in forward mode ** ** Copyright (C) 1999-2001 M. Braeuer, W. Hofschuster, W. Kraemer ** Wiss. Rechnen/Softwaretechnologie ** Universitaet Wuppertal, Germany ** ** This library is free software; you can redistribute it and/or ** modify it under the terms of the GNU Library General Public ** License as published by the Free Software Foundation; either ** version 2 of the License, or (at your option) any later version. ** ** This library is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** Library General Public License for more details. ** ** You should have received a copy of the GNU Library General Public ** License along with this library; if not, write to the Free ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Installation: ============= 1. Unpack the sources slope_for.tar.gz : gunzip slope_for.tar.gz tar -xvf slope_for.tar This creates a directory ./slope_for with all the necessary files: README Makefile slope_ari.h Global headerfile slope.h Headerfile onedim. slope arithmetic slope.cpp Implementation onedim. slope arithmetic multi_dim_slope.h Headerfile multidim. slope arithmetic multi_dim_slope.cpp Implementation multidim. slope arithmetic helpfuncs.h Headerfile utilities helpfuncs.cpp Implementation utilities prog1.cpp Example: One-/multidim. slope arithmetic prog2.cpp Example: Use of function fseval sltestv.cpp Example: Some functions nlg.cpp Example: Nonlinear equations nlgsrump.cpp Example: Nonlinear systems of equations with an example from S. Rump 2. Make sure you have the C-XSC 2.0 library 3. Type cd ./slope_for 4. Edit the file Makefile and set the correct path to your installation of the C-XSC 2.0 library 5. Compile the sources using make: make all This creates the library libslope_ari.a and the example programs. Executable files: ================= - nlg - nlgsrump - prog1 - prog2 - sltestv Clean directory: ================ To delete the executable and the object-files type make clean Using the slope arithmetic: =========================== When you compile and link code using slope arithmetic and C-XSC routines, you have to define an include path and a library path and you have to link the libraries libslope_ari.a and libcxsc.a: g++ -I -I -L -L prog.cpp -lslope_ari -lcxsc -o prog Meaning of <...>: Include-paths: /include Library-paths: /lib = Note, that -I and -L are not necessary, if you have set the path variables. Questions, Suggestions, Problems, Solutions are welcome: ======================================================== Wissenschaftliches Rechnen/Softwaretechnologie Fachbereich 7 (Mathematik) Bergische Universitaet GH Wuppertal Gaussstrasse 20 D-42097 Wuppertal e-mail: xsc@math.uni-wuppertal.de C-XSC-Homepage: http://www.math.uni-wuppertal.de/~xsc/ or http://www.xsc.de/