/* ** SLOPE_REV: C-XSC classes for one- and multidimensional (interval) ** slope arithmetic in reverse 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_rev.tar.gz : gunzip slope_rev.tar.gz tar xvf slope_rev.tar This creates a directory ./slope_rev with all the necessary files: README Makefile s_reverse.h Headerfile slope arithmetic in reverse mode s_reverse.cpp Implementation slope arithmetic in reverse mode helpfuncs.h Headerfile utilities helpfuncs.cpp Implementation utilities rslope_ex1.cpp Example: forward_sweep, reverse_sweep sltestr.cpp Example: Some functions 2. Make sure you have the C-XSC 2.0 library 3. Type cd ./slope_rev 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_rev.a and the example programs. Executable files: ================= - rslope_ex1 - sltestr 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_rev.a and libcxsc.a: g++ -I -I -L -L prog.cpp -lslope_rev -lcxsc -o prog Meaning of <...>: Include-paths: /include Library-paths: /lib = Note, that -I and -L are not necessary, if yau 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/