CAPD DynSys Library  5.2.0
Packages and directories structure

Packages

The CAPD library is divided into packages

  • capdAlg : interval arithmetic, vector and matrix algebra, common matrix algorithms, multiple precision data types,
  • capdAux : a portable graphical environment (krak), auxiliary tools
  • capdExt : external libraries : alglib, filib++, fadbad, boost, chomp,
  • capdMake : common scripts to compile and install all packages and the CAPD library,
  • capdDynSys : modules for rigorous computations in dynamical systems (see list of modules),
  • capdRedHom : modules for efficient computation of the homology of sets.

Each package is stored in separate directory, which name is equivalent to the package name. We call this developers form of CAPD library. After compilation the CAPD library can be used in that form, but we advice to install the library by calling make install.
It will merge all packages into a single directory.

Package structure

All packages (except capdMake) contain a set of modules, programs, examples and tests. Each package directory has the following structure

  • include - contains header files. Each module is in separated subdirectory. In most of the cases its path relative to ''include'' directory agrees with module namespace e.g. class capd::intervals::Interval is defined in header file include/capd/intervals/Interval.h. During installation they will be copied to PREFIX/include directory (the PREFIX directory is set by configure script).
  • src - source files that will be compiled into two libraries: capd and mpcapd (multiple precision version of the CAPD).
  • programs - stand-alone programs that will be installed to PREFIX/bin directory,
  • examples - contains examples how to use features provided by the current package,
  • tests - self tests that are compiled and executed when target make check is called,
  • docs - contains package documentation after calling make doc.

The capdMake package contains scripts used to compile other packages. After successful compilation it will contain binary files of the CAPD libraries. Those libraries will be installed to PREFIX/lib directory.

Packages dependencies

Some packages require other packages to compile. The dependencies are as follows:

Package Depends on
capdMake -
capdAux capdMake
capdExt capdMake
capdAlg capdAux, capdExt, capdMake
capdDynSys capdAlg, capdAux, capdMake,
capdExt (only alglib, fadbad, filib++ libraries)
capdRedHom capdAlg, capdAux, capdExt, capdMake