QUADRULE package

This is a source package I cobbled together for installing John Burkardt's QUADRULE routines across many Linux/Unix distributions. The original C source is available on John Burkardt's website here.

Latest version: quadrule-0~20130608.tar.gz

To install:

  1. Download and untar the source package, e.g.
    wget http://www.atmosp.physics.utoronto.ca/~neishm/quadrule/quadrule-0~20130608.tar.gz
    tar -xzvf quadrule-0~20130608.tar.gz
    
  2. Configure the package for use on your particular distribution/architecture.
    cd quadrule-0~20130608
    ./configure
    
  3. Compile and install the library
    make
    sudo make install
    

For a summary of all routines available, try running

man quadrule

Here is a small sample program, which uses QUADRULE to generate and display the weights/abscissas for a Gauss-Legendre quadrature rule. To compile it:

gcc legendre.c -o legendre -lquadrule -Wl,-rpath=/usr/local/lib




Last updated 2013-07-04