To compile the code in a standard unix environment (with GNU gcc compiler), type
make allto obtain an optimized executable file cdd and dplex_test. If this does not work, modify the file, Makefile. The GNU compiler gcc can be replaced by cc, if aother ANSI C compiler cc is available. Since the program includes some standard ANSI library headers such as stdlib.h and time.h at compilation, the compiler must know the locations of the standard ANSI libraries. Also, the files cdd.c, cdd.h, cdddef.h, cddarith.c, cddio.c, dplex.c, dplexdef.h, dplex.h, setoper.c and setoper.h are supposed to be in the current directory.
#define dp_MMAX 5002 /* USER'S CHOICE: max row size of A plus two */ #define dp_NMAX 101 /* USER'S CHOICE: max column size of A plus one */If this input data has m rows and d+1 columns, then in the program, dp_MMAX should be at least m+1 and dp_NMAX should be at least d+1. Although it has no sense to set the sizes dp_MMAX and dp_NMAX much larger than necessary, the program only creates spaces for dp_MMAX+dp_NMAX pointers and uses only necessary storage space for each input, and thus large dp_MMAX and dp_NMAX won't be too harmful.