next up previous contents
Next: 2 Public Functionality Up: 1.5 A Quick Look Previous: 1.5.1 Example Code   Contents

1.5.2 Compilation

Under a Unix style system compilation is straight forward. Put the file, EMatrix.h, in the same directory as you source code and issue the following command:

  $ g++ -ansi -pedantic -Wall -D_HAVE_LAPACK example0.cpp -llapack -lg2c
  $ ./a.out
    31.4536
     0.191504   0.928666  -1.200350
    -0.293600  -0.054978   0.866813
     0.580886  -0.968679   0.851310

The following assumptions are made:



Andrew Douglas 2005-03-15