Source Code
Source Code
The software provided is a suite of routines as source code in the 'c' programming language. This includes an extensive set of ready made examples covering all aspects of the suite.
Many of the examples are described in detail in the documentation.
The suite is able to handle up to 31 dimensions, storing only components which have non-zero value to make efficient use of memory.
The files are provided in three formats:
1) a tape archive '.tar' file,
2) a 'gzip' compressed tar file '.tar.gz', and
3) a 'zip' compressed archive file '.zip'.
All of these have the same contents. Read the plain ASCII text file 'README' first.
Installation is described in the README file. The GNU Autotools infrastructure has been used to construct a 'configure' script. Issuing the command './configure' uses the configure script to create a 'Makefile'. Issuing the command './make' then uses the Makefile to compile the source code. At that stage you can start experimenting.
If you want to install the suite (i.e. the library and the executable code) in the system spaces of your machine rather than keeping it in the user directory where it is built, you can issue the command './make install'. This is optional. You will probably need more than plain user privileges to do that. If you change your mind and want to remove the installation you can issue the command './make uninstall'.
An application 'check_math' is provided to perform some numerical exercises to check that the suite is functioning correctly and producing the expected numerical output. You can run the test by issuing the command './check_math'. The test writes the result of the exercises to the screen too quickly to read, but there is a summary at the end which should tell you that none of the tests have failed.