QUAD
Estimate an Integral


QUAD, a MATLAB program which estimates an integral by using an averaging technique.

This program is intended as a starting point; Parallel Matlab's PARFOR, SPMD or task features can be used.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

QUAD is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

FFT, a MATLAB program which demonstrates the computation of a Fast Fourier Transform, and is intended as a starting point for developing a parallel version.

FIRE, a MATLAB program which simulates a forest fire over a rectangular array of trees, starting at a single random location. It is intended as a starting point for the development of a parallel version.

HEATED_PLATE, a MATLAB program which solves the steady state heat equation in a 2D rectangular region, and is intended as a starting point for implementing a parallel version.

MD, a MATLAB program which carries out a molecular dynamics simulation, and is intended as a starting point for implementing a parallel version.

POISSON, a MATLAB program which computes an approximate solution to the Poisson equation in a rectangle, and is intended as the starting point for the creation of a parallel version.

PRIME, a MATLAB program which counts the number of primes between 1 and N, intended as a starting point for the creation of a parallel version.

quad_test

QUAD2D, a MATLAB program which approximates an integral over a 2D region using a product quadrature rule, and is intended as a starting point for parallelization exercises.

SEARCH, a MATLAB program which searches the integers from A to B for a value J such that F(J) = C. this version of the program is intended as a starting point for a parallel approach.

Reference:

  1. Gaurav Sharma, Jos Martin,
    MATLAB: A Language for Parallel Computing,
    International Journal of Parallel Programming,
    Volume 37, Number 1, pages 3-36, February 2009.

Source Code:


Last revised on 02 March 2019.