<h1 align = "center">
C Source Codes
</h1>
<hr>
<p>
<ol>
<li>
<a href = "args/args.html">
args</a>,
a program which
reports the command line arguments with which it was invoked;
</li>
<li>
<a href = "asa005/asa005.html">
asa005</a>,
a library which
evaluates the lower tail of the noncentral Student's T distribution,
by BE Cooper;
this is a C version of Applied Statistics Algorithm 5;
</li>
<li>
<a href = "asa006/asa006.html">
asa006</a>,
a library which
computes the Cholesky factor of a positive definite symmetric matrix,
by Michael Healy;
this is a C version of Applied Statistics Algorithm 6;
</li>
<li>
<a href = "asa007/asa007.html">
asa007</a>,
a library which
computes the inverse of a positive definite symmetric matrix,
by Michael Healy;
this is a C version of Applied Statistics Algorithm 7,
</li>
<li>
<a href = "asa032/asa032.html">
asa032</a>,
a library which
evaluates the incomplete Gamma function,
by G Bhattacharjee;
this is a C version of Applied Statistics Algorithm 32;
</li>
<li>
<a href = "asa047/asa047.html">
asa047</a>,
a library which
minimizes a scalar function of several variables using the Nelder-Mead algorithm,
by R ONeill;
this is a C version of Applied Statistics Algorithm 47;
</li>
<li>
<a href = "asa058/asa058.html">
asa058</a>,
a library which
carries out K-means clustering of data,
by David Sparks;
this is a C version of Applied Statistics Algorithm 58;
</li>
<li>
<a href = "asa063/asa063.html">
asa063</a>,
a library which
evaluates the incomplete Beta function,
by KL Majumder and G Bhattacharjee;
this is a C version of Applied Statistics Algorithm 63;
</li>
<li>
<a href = "asa066/asa066.html">
asa066</a>,
a library which
computes the Cumulative Density Function (CDF) of the standard normal distribution,
by David Hill;
this is a C version of Applied Statistics Algorithm 66;
</li>
<li>
<a href = "asa076/asa076.html">
asa076</a>,
a library which
evaluates Owen's T function,
by Young and Minder;
this is a C version of Applied Statistics Algorithm 76;
</li>
<li>
<a href = "asa091/asa091.html">
asa091</a>,
a library which
computes the percentage points of the Chi-square distribution,
by Best and Roberts;
this is a C version of Applied Statistics Algorithm 91;
</li>
<li>
<a href = "asa103/asa103.html">
asa103</a>,
a library which
evaluates the digamma or psi function,
by Jose Bernardo;
this is a C version of Applied Statistics Algorithm 103;
</li>
<li>
<a href = "asa109/asa109.html">
asa109</a>,
a library which
inverts the incomplete Beta function,
by Cran, Martin and Thomas;
this is a C version of Applied Statistics Algorithm 109;
</li>
<li>
<a href = "asa111/asa111.html">
asa111</a>,
a library which
evaluates the percentage points of the normal distribution,
by Beasley and Springer;
this is a C version of Applied Statistics Algorithm 111;
</li>
<li>
<a href = "asa113/asa113.html">
asa113</a>,
a library which
clusters data using a transfer and swap algorithm,
by Banfield and Bassill;
this is a C version of Applied Statistics Algorithm 113;
</li>
<li>
<a href = "asa121/asa121.html">
asa121</a>,
a library which
evaluates the trigamma function,
by BE Schneider;
this is a C version of Applied Statistics Algorithm 121;
</li>
<li>
<a href = "asa136/asa136.html">
asa136</a>,
a library which
implements a clustering algorithm,
by Hartigan and Wong;
this is a C version of Applied Statistics Algorithm 136;
</li>
<li>
<a href = "asa144/asa144.html">
asa144</a>,
a library which
randomly generates tables with given row and column sums,
by James Boyett;
this is a C version of Applied Statistics Algorithm 144;
</li>
<li>
<a href = "asa147/asa147.html">
asa147</a>,
a library which
evaluates the incomplete Gamma function,
by Chi Leung Lau;
this is a C version of Applied Statistics Algorithm 147;
</li>
<li>
<a href = "asa152/asa152.html">
asa152</a>,
a library which
evaluates the probability density function (PDF) and
cumulative density function (CDF) associated with the
hypergeometric distribution,
by Richard Lund;
this is a C version of Applied Statistics Algorithm 152;
</li>
<li>
<a href = "asa159/asa159.html">
asa159</a>,
a library which
computes a random table with given row
and column sums,
by Michael Patefield;
this is a C version of Applied Statistics Algorithm 159;
</li>
<li>
<a href = "asa172/asa172.html">
asa172</a>,
a library which
generates all multidimensional indices in a given range,
simulating the behavior of an arbitrary number of nested loops,
by OFlaherty and MacKenzie.
this is a C version of Applied Statistics Algorithm 172;
</li>
<li>
<a href = "asa183/asa183.html">
asa183</a>,
a library which
implements a pseudorandom number generator,
by Wichman and Hill;
this is a C version of Applied Statistics Algorithm 183;
</li>
<li>
<a href = "asa226/asa226.html">
asa226</a>,
a library which
evaluates the noncentral incomplete Beta function,
by Russell Lenth;
this is a C version of Applied Statistics Algorithm 226;
</li>
<li>
<a href = "asa239/asa239.html">
asa239</a>,
a library which
evaluates the incomplete Gamma function,
by Shea;
this is a C version of Applied Statistics Algorithm 239;
</li>
<li>
<a href = "asa241/asa241.html">
asa241</a>,
a library which
computes the inverse of the normal cumulative density function (CDF),
by Michael Wichura;
this is a C version of Applied Statistics Algorithm 241;
</li>
<li>
<a href = "asa243/asa243.html">
asa243</a>,
a library which
evaluates the lower tail of the noncentral Student's T distribution,
by Russell Lenth;
this is a C version of Applied Statistics Algorithm 243;
</li>
<li>
<a href = "asa245/asa245.html">
asa245</a>,
a library which
evaluates the logarithm of the Gamma function,
by Allan Mcleod;
this is a C version of Applied Statistics Algorithm 245;
</li>
<li>
<a href = "asa299/asa299.html">
asa299</a>,
a library which
computes the lattice points
(integer coordinates) in an M-dimensional simplex,
by Chasalow and Brand;
this is a C version of Applied Statistics Algorithm 299;
</li>
<li>
<a href = "asa310/asa310.html">
asa310</a>,
a library which
evaluates the noncentral incomplete Beta function,
by Chattamvelli and Shanmugam;
this is a C version of Applied Statistics Algorithm 310;
</li>
<li>
<a href = "ascii_to_mri/ascii_to_mri.html">
ascii_to_mri</a>,
a program which
restores MRI data to its original binary format, having been
previously converted to an ASCII text file.
</li>
<li>
<a href = "ball_grid/ball_grid.html">
ball_grid</a>,
a library which
computes grid points inside a 3D ball.
</li>
<li>
<a href = "ball_volume_monte_carlo/ball_volume_monte_carlo.html">
ball_volume_monte_carlo</a>,
a program which
applies a Monte Carlo procedure to estimate the volume of the
M-dimensional unit ball;
</li>
<li>
<a href = "barycentric_interp_1d/barycentric_interp_1d.html">
barycentric_interp_1d</a>,
a library which
defines and evaluates the barycentric Lagrange polynomial p(x)
which interpolates a set of data, so that p(x(i)) = y(i).
The barycentric approach means that very high degree polynomials can
safely be used.
</li>
<li>
<a href = "bernstein/bernstein.html">
bernstein</a>,
a library which
evaluates the Bernstein polynomials;
</li>
<li>
<a href = "beta_nc/beta_nc.html">
beta_nc</a>,
a library which
evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
</li>
<li>
<a href = "bio/bio.html">
bio</a>,
a library which
manages binary I/O,
by Greg Hood.
</li>
<li>
<a href = "bisection_integer/bisection_integer.html">
bisection_integer</a>,
a library which
seeks an integer solution to the equation F(X)=0,
using bisection within a user-supplied change of sign interval [A,B].
</li>
<li>
<a href = "black_scholes/black_scholes.html">
black_scholes</a>,
a library which
implements some simple approaches to
the Black-Scholes option valuation theory,
by Desmond Higham.
</li>
<li>
<a href = "blas1/blas1.html">
blas1</a>,
a library which
contains the Basic Linear Algebra Subprograms (BLAS)
for level 1 (vector-vector operations), for single and double precision,
and for real and complex arithmetic.
</li>
<li>
<a href = "blas1_c/blas1_c.html">
blas1_c</a>,
a library of the Level 1 Basic Linear Algebra Subprograms (BLAS),
using single precision complex arithmetic;
</li>
<li>
<a href = "blas1_d/blas1_d.html">
blas1_d</a>,
a library of the Level 1 Basic Linear Algebra Subprograms (BLAS),
using double precision real arithmetic;
</li>
<li>
<a href = "blas1_s/blas1_s.html">
blas1_s</a>,
a library of the Level 1 Basic Linear Algebra Subprograms (BLAS),
using single precision real arithmetic;
</li>
<li>
<a href = "blas1_z/blas1_z.html">
blas1_z</a>,
a library of the Level 1 Basic Linear Algebra Subprograms (BLAS),
using double precision complex arithmetic;
</li>
<li>
<a href = "box_behnken/box_behnken.html">
box_behnken</a>,
a library which
computes a Box-Behnken design,
that is, a set of arguments to sample the behavior
of a function of multiple parameters;
</li>
<li>
<a href = "brent/brent.html">
brent</a>,
a library which
contains routines for finding zeroes or minima of a scalar
function of a scalar variable, without the use of derivative information,
by Richard Brent.
</li>
<li>
<a href = "brownian_motion_simulation/brownian_motion_simulation.html">
brownian_motion_simulation</a>,
a library which
simulates Brownian motion in an M-dimensional region.
</li>
<li>
<a href = "burgers_solution/burgers_solution.html">
burgers_solution</a>,
a library which
evaluates an exact solution of the time-dependent 1D viscous Burgers equation.
</li>
<li>
<a href = "c/c.html">
c</a>,
programs which
illustrate some of the features of the C programming language.
</li>
<li>
<a href = "c_arrays/c_arrays.html">
c_arrays</a>,
programs which
illustrate the use of vectors, matrices and tensors.
</li>
<li>
<a href = "c_calls_f77/c_calls_f77.html">
c_calls_f77</a>,
programs which
illustrate a C program calling a FORTRAN77 subroutine.
</li>
<li>
<a href = "c_calls_f90/c_calls_f90.html">
c_calls_f90</a>,
programs which
illustrate a C program calling a FORTRAN90 subroutine.
</li>
<li>
<a href = "c_intrinsics/c_intrinsics.html">
c_intrinsics</a>,
a program which
illustrates the use of intrinsic functions supplied by the C language.
</li>
<li>
<a href = "c_operators/c_operators.html">
c_operators</a>,
a program which
illustrates the use of some of the operators supplied by the C language.
</li>
<li>
<a href = "c_random/c_random.html">
c_random</a>,
programs which
illustrate the use of the C random number generator routines.
</li>
<li>
<a href = "c4_complex_lib/c4_complex_lib.html">
c4_complex_lib</a>,
a library which
defines a single precision complex (C4) variable as a structure,
and implements certain corresponding elementary functions.
</li>
<li>
<a href = "c4lib/c4lib.html">
c4lib</a>,
a library which
implements certain elementary functions for single precision complex (C4) variables
using the C99 "float complex" datatype.
</li>
<li>
<a href = "c8_complex_lib/c8_complex_lib.html">
c8_complex_lib</a>,
a library which
defines a double precision complex (C8) variable as a structure,
and implements certain corresponding elementary functions.
</li>
<li>
<a href = "c8lib/c8lib.html">
c8lib</a>,
a library which
implements certain elementary functions for double precision complex (C8) variables
using the C99 standard "double complex" datatype.
</li>
<li>
<a href = "cell/cell.html">
cell</a>,
a library which
defines a cell array, a generalization of an array which
can compactly store and retrieve vector or matrix data of
varying size, such as the rows of a triangular matrix.
</li>
<li>
<a href = "chebyshev/chebyshev.html">
chebyshev</a>,
a library which
computes the Chebyshev interpolant or approximant to a given function
over an interval.
</li>
<li>
<a href = "chebyshev_interp_1d/chebyshev_interp_1d.html">
chebyshev_interp_1d</a>,
a library which
determines the combination of Chebyshev polynomials which
interpolates a set of data, so that p(x(i)) = y(i).
</li>
<li>
<a href = "chrpak/chrpak.html">
chrpak</a>,
a library which
can manipulate characters and strings;
</li>
<li>
<a href = "circle_arc_grid/circle_arc_grid.html">
circle_arc_grid</a>,
a library which
computes grid points along a circular arc.
</li>
<li>
<a href = "circle_grid/circle_grid.html">
circle_grid</a>,
a library which
computes grid points inside a circle.
</li>
<li>
<a href = "clenshaw_curtis_rule/clenshaw_curtis_rule.html">
clenshaw_curtis_rule</a>,
a program which
implements a Clenshaw Curtis quadrature rule;
</li>
<li>
<a href = "cnoise/cnoise.html">
cnoise</a>,
a library which
generates samples of noise obeying a 1/f^alpha power law,
by Miroslav Stoyanov.
</li>
<li>
<a href = "collatz_recursive/collatz_recursive.html">
collatz_recursive</a>,
a library which
demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
</li>
<li>
<a href = "colored_noise/colored_noise.html">
colored_noise</a>,
a library which
generates samples of noise obeying a 1/f^alpha power law.
</li>
<li>
<a href = "combination_lock/combination_lock.html">
combination_lock</a>,
a library which
simulates the process of determining the secret combination of a lock.
</li>
<li>
<a href = "combo/combo.html">
combo</a>,
a library which
includes routines for ranking, unranking, enumerating and randomly selecting
balanced sequences, cycles, graphs, Gray codes, subsets, partitions,
permutations, restricted growth functions, Pruefer codes and trees.
</li>
<li>
<a href = "communicator_mpi/communicator_mpi.html">
communicator_mpi</a>,
a program which
creates new communicators involving a subset of initial
set of MPI processes in the default communicator MPI_COMM_WORLD.
</li>
<li>
<a href = "compass_search/compass_search.html">
compass_search</a>,
a library which
seeks the minimizer of a scalar function of several variables
using compass search, a direct search algorithm that does not use derivatives.
</li>
<li>
<a href = "complex_numbers/complex_numbers.html">
complex_numbers</a>,
a program which
demonstrates some simple features involved in the use of
complex numbers in C programming.
</li>
<li>
<a href = "condition/condition.html">
condition</a>,
a library which
implements methods of computing or estimating the condition number of a matrix.
</li>
<li>
<a href = "cordic/cordic.html">
cordic</a>,
a library which
computes a few special functions using the CORDIC algorithm.
</li>
<li>
<a href = "correlation/correlation.html">
correlation</a>,
a library which
contains examples of statistical correlation functions.
</li>
<li>
<a href = "csparse/csparse.html">
csparse</a>,
a library which
carries out the direct solution of sparse
linear systems, by Timothy Davis.
</li>
<li>
<a href = "cycle_brent/cycle_brent.html">
cycle_brent</a>,
a library which
carries out an iterated function evaluation, and seeks to determine the
nearest element of a cycle, and the cycle's length, using Brent's method.
</li>
<li>
<a href = "cycle_floyd/cycle_floyd.html">
cycle_floyd</a>,
a library which
carries out an iterated function evaluation, and seeks to determine the
nearest element of a cycle, and the cycle's length, using Floyd's method.
</li>
<li>
<a href = "cyclic_reduction/cyclic_reduction.html">
cyclic_reduction</a>,
a library which
solves a tridiagonal linear system using cyclic reduction;
</li>
<li>
<a href = "diaphony/diaphony.html">
diaphony</a>,
a program which
reads a file of N points in M dimensions and computes its diaphony, a measure
of point dispersion.
</li>
<li>
<a href = "dijkstra/dijkstra.html">
dijkstra</a>,
a program which
runs a simple example of Dijkstra's minimum distance algorithm for graphs.
</li>
<li>
<a href = "dijkstra_openmp/dijkstra_openmp.html">
dijkstra_openmp</a>,
a program which
uses OpenMP to parallelize a simple example of Dijkstra's
minimum distance algorithm for graphs.
</li>
<li>
<a href = "dislin/dislin.html">
dislin</a>,
programs which
illustrate the use of dislin, a scientific graphics package.
</li>
<li>
<a href = "divdif/divdif.html">
divdif</a>,
a library which
uses divided differences to compute the polynomial interpolant
to a given set of data.
</li>
<li>
<a href = "doomsday/doomsday.html">
doomsday</a>,
a library which
is given the year, month and day of a date, and uses
John Conway's doomsday algorithm to determine the corresponding day of the week.
</li>
<li>
<a href = "duel_simulation/duel_simulation.html">
duel_simulation</a>,
a program which
simulates N repetitions of a duel between two players, each of
whom has a known firing accuracy.
</li>
<li>
<a href = "eispack/eispack.html">
eispack</a>,
a library which
carries out eigenvalue computations.
It includes a function to compute the singular value decomposition (SVD)
of a rectangular matrix.
This library was superseded by LAPACK;
</li>
<li>
<a href = "ellipse_grid/ellipse_grid.html">
ellipse_grid</a>,
a library which
computes grid points inside an ellipse.
</li>
<li>
<a href = "ellipsoid_grid/ellipsoid_grid.html">
ellipsoid_grid</a>,
a library which
computes grid points inside a 3D ellipsoid.
</li>
<li>
<a href = "f77split/f77split.html">
f77split</a>,
a program which
splits a file containing
multiple FORTRAN77 routines into separate files;
</li>
<li>
<a href = "f90split/f90split.html">
f90split</a>,
a program which
splits a file containing multiple FORTRAN90 routines into separate files;
</li>
<li>
<a href = "fair_dice_simulation/fair_dice_simulation.html">
fair_dice_simulation</a>,
a program which
simulates N tosses of 2 dice, making a histogram of the results.
</li>
<li>
<a href = "fd_predator_prey/fd_predator_prey.html">
fd_predator_prey</a>,
a program which
solves a pair of predator prey ordinardy differential equations (ODE's)
using a finite difference approximation.
</li>
<li>
<a href = "fd1d_burgers_lax/fd1d_burgers_lax.html">
fd1d_burgers_lax</a>,
a program which
applies the finite difference method and the Lax Wendroff method
to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
</li>
<li>
<a href = "fd1d_burgers_leap/fd1d_burgers_leap.html">
fd1d_burgers_leap</a>,
a program which
applies the finite difference method and the leapfrog approach
to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
</li>
<li>
<a href = "fd1d_bvp/fd1d_bvp.html">
fd1d_bvp</a>,
a program which
applies the finite difference method
to a two point boundary value problem in one spatial dimension.
</li>
<li>
<a href = "fd1d_heat_explicit/fd1d_heat_explicit.html">
fd1d_heat_explicit</a>,
a library which
implements a finite difference solution, explicit in time, of the
time dependent 1D heat equation;
</li>
<li>
<a href = "fd1d_heat_implicit/fd1d_heat_implicit.html">
fd1d_heat_implicit</a>,
a program which
implements a finite difference solution, implicit in time, of the
time dependent 1D heat equation;
</li>
<li>
<a href = "fd1d_heat_steady/fd1d_heat_steady.html">
fd1d_heat_steady</a>,
a program which
implements a finite difference solution for the steady
(time independent) 1D heat equation;
</li>
<li>
<a href = "fd1d_wave/fd1d_wave.html">
fd1d_wave</a>,
a program which
applies the finite difference method to solve the time-dependent
wave equation in one spatial dimension.
</li>
<li>
<a href = "fem1d/fem1d.html">
fem1d</a>,
a program which
applies the finite element method,
using piecewise linear basis functions, to a linear
two point boundary value problem in 1D;
</li>
<li>
<a href = "fem1d_bvp_linear/fem1d_bvp_linear.html">
fem1d_bvp_linear</a>,
a program which
applies the finite element method, with piecewise linear elements,
to a two point boundary value problem in one spatial dimension,
and compares the computed and exact solutions
with the L2 and seminorm errors.
</li>
<li>
<a href = "fem1d_heat_steady/fem1d_heat_steady.html">
fem1d_heat_steady</a>,
a program which
implements the finite element method for the steady
(time independent) 1D heat equation;
</li>
<li>
<a href = "fem2d_poisson_rectangle_linear/fem2d_poisson_rectangle_linear.html">
fem2d_poisson_rectangle_linear</a>,
a program which
solves the 2D Poisson equation on a rectangle,
using the finite element method,
and piecewise linear triangular elements.
</li>
<li>
<a href = "feynman_kac_1d/feynman_kac_1d.html">
feynman_kac_1d</a>,
a program which
demonstrates the use of the Feynman-Kac algorithm
to solve Poisson's equation in a 1D interval by averaging
stochastic paths to the boundary.
</li>
<li>
<a href = "feynman_kac_2d/feynman_kac_2d.html">
feynman_kac_2d</a>,
a program which
demonstrates the use of the Feynman-Kac algorithm
to solve Poisson's equation in a 2D ellipse by averaging
stochastic paths to the boundary.
</li>
<li>
<a href = "feynman_kac_3d/feynman_kac_3d.html">
feynman_kac_3d</a>,
a program which
demonstrates the use of the Feynman-Kac algorithm
to solve Poisson's equation in a 3D ellipsoid by averaging
stochastic paths to the boundary.
</li>
<li>
<a href = "fft_openmp/fft_openmp.html">
fft_openmp</a>,
a program which
demonstrates the computation of a Fast Fourier Transform (FFT)
in parallel, using OpenMP.
</li>
<li>
<a href = "fft_serial/fft_serial.html">
fft_serial</a>,
a program which
computes a Fast Fourier Transform (FFT), and is intended as
a starting point for implementing an OpenMP parallel version.
</li>
<li>
<a href = "fftw3/fftw3.html">
fftw3</a>,
programs which
illustrate the use of FFTW3, a library of routines
for the Fast Fourier Transform (FFT),
by Matteo Frigo and Steven Johnson.
</li>
<li>
<a href = "file_name_sequence/file_name_sequence.html">
file_name_sequence</a>,
a program which
demonstrates ways to generate a sequence of filenames, which can
be useful when generating a sequence of still snapshots to be animated later.
</li>
<li>
<a href = "filum/filum.html">
filum</a>,
a library which
performs various operations with files;
</li>
<li>
<a href = "flood_opengl/flood_opengl.html">
flood_opengl</a>,
a program which
uses OpenGL to allow the user to select regions of an image
and flood them with color,
by Art Wetzel.
</li>
<li>
<a href = "floyd/floyd.html">
floyd</a>,
a library which
implements Floyd's algorithm for finding the shortest distance
between pairs of nodes on a directed graph.
</i>
<li>
<a href = "fn/fn.html">
fn</a>,
a library which
evaluates elementary and special functions,
by Wayne Fullerton.
</li>
<li>
<a href = "forest_fire_simulation/forest_fire_simulation.html">
forest_fire_simulation</a>,
a program which
models the occurrence of fires in a forest, and displays the status
of the forest using X Windows, by Michael Creutz.
</li>
<li>
<a href = "gcc_intrinsics/gcc_intrinsics.html">
gcc_intrinsics</a>,
a program which
demonstrates or tests some of the intrinsic functions made available
by the Gnu gcc compiler for C.
</li>
<li>
<a href = "gcc_quadmath/gcc_quadmath.html">
gcc_quadmath</a>,
a program which
illustrates the use of quadruple precision real arithmetic,
as provided on some systems by the Gnu gcc compiler for C.
</li>
<li>
<a href = "geometry/geometry.html">
geometry</a>,
a library which
carries out geometrical algorithms for 2D, 3D, ND;
</li>
<li>
<a href = "geompack/geompack.html">
geompack</a>,
a library which
computes the Delaunay triangulation of 2D data,
by Barry Joe;
</li>
<li>
<a href = "gm_rule/gm_rule.html">
gm_rule</a>,
a library which
defines Grundmann-Moeller quadratures rules for an M-dimensional simplex.
</li>
<li>
<a href = "gnuplot_i/gnuplot_i.html">
gnuplot_i</a>,
a library which
allows an executing C, C++ or FORTRAN program to interact with the
gnuplot graphics program,
by Nicholas Devillard.
</li>
<li>
<a href = "gnuplot_i_examples/gnuplot_i_examples.html">
gnuplot_i_examples</a>,
programs which
demonstrate the use of the gnuplot_i library for interactive
runtime gnuplot graphics.
</li>
<li>
<a href = "gprof/gprof.html">
gprof</a>,
programs which
illustrate the use of the gprof program performance monitor;
</li>
<li>
<a href = "graphchk/graphchk.html">
graphchk</a>,
a program which
checks that a metis graph file has the proper format;
</li>
<li>
<a href = "graphics_examples/graphics_examples.html">
graphics_examples</a>,
programs which
illustrate how various kinds of data can be displayed and analyzed graphically.
</li>
<li>
<a href = "haar/haar.html">
haar</a>,
a library which
computes the Haar transform of data.
</li>
<li>
<a href = "heat_mpi/heat_mpi.html">
heat_mpi</a>,
a program which
demonstrates the use of MPI, by solving the 1D time dependent heat equation.
</li>
<li>
<a href = "heated_plate/heated_plate.html">
heated_plate</a>,
a program which
solves the steady state heat equation in a 2D
rectangular region, and is intended as
a starting point for implementing an OpenMP parallel version.
</li>
<li>
<a href = "heated_plate_openmp/heated_plate_openmp.html">
heated_plate_openmp</a>,
a program which
solves the steady (time independent) heat equation in a 2D
rectangular region, using OpenMP to run in parallel.
</li>
<li>
<a href = "hello/hello.html">
hello</a>,
a program which
prints out "Hello, world!".
</li>
<li>
<a href = "hello_mpi/hello_mpi.html">
hello_mpi</a>,
a program which
prints out "Hello, world!" using MPI for parallel programming.
</li>
<li>
<a href = "hello_openmp/hello_openmp.html">
hello_openmp</a>,
a program which
prints out "Hello, world!" within the OpenMP parallel programming
environment.
</li>
<li>
<a href = "hermite/hermite.html">
hermite</a>,
a library which
computes the Hermite interpolant, a polynomial that matches function values
and derivatives.
</li>
<li>
<a href = "hermite_cubic/hermite_cubic.html">
hermite_cubic</a>,
a library which
can compute the value, derivatives or integral of a Hermite cubic polynomial,
or manipulate an interpolating function made up of piecewise Hermite cubic
polynomials.
</li>
<li>
<a href = "i4lib/i4lib.html">
i4lib</a>,
a library which
contains many utility routines, using single precision integer (I4)
arithmetic.
</li>
<li>
<a href = "i8lib/i8lib.html">
i8lib</a>,
a library which
contains many utility routines, using double precision integer (I8)
arithmetic.
</li>
<li>
<a href = "ice_io/ice_io.html">
ice_io</a>,
a library which
reads or writes ICE grid files stored in netcdf format.
</li>
<li>
<a href = "ice_to_mesh/ice_to_mesh.html">
ice_to_mesh</a>,
a program which
reads a netcdf file containing an ICE dataset and rewrites the
information as a MESH file.
</li>
<li>
<a href = "image_components/image_components.html">
image_components</a>,
a library which
seeks the connected nonzero or nonblack components of an image or integer array.
</li>
<li>
<a href = "image_denoise/image_denoise.html">
image_denoise</a>,
a library which
applies simple filtering operations to a noisy image.
</li>
<li>
<a href = "image_edge/image_edge.html">
image_edge</a>,
a library which
demonstrates a simple procedure for edge detection in images.
</li>
<li>
<a href = "index/index.html">
index</a>,
a library which
converts a multidimensional vector index to a one-dimensional vector index;
it can handle zero and one based indexing schemes, as well as column major
and row major conventions.
</li>
<li>
<a href = "is_serial/is_serial.html">
is_serial</a>,
a program which
is a serial version of the NAS Parallel Benchmark Integer Sort (IS).
</li>
<li>
<a href = "ising_2d_simulation/ising_2d_simulation.html">
ising_2d_simulation</a>,
a program which
simulates the evolution of a 2D array of positive and negative charges,
each of which is likely to flip to be in agreement with neighbors.
</li>
<li>
<a href = "kmetis/kmetis.html">
kmetis</a>,
a program which
uses the metis library to partition
the nodes of a graph in a balanced way, useful for parallel
processing;
</li>
<li>
<a href = "kronrod/kronrod.html">
kronrod</a>,
a library which
can compute a Gauss and Gauss-Kronrod pair of quadrature rules
of arbitrary order,
by Robert Piessens, Maria Branders.
</li>
<li>
<a href = "lagrange_approx_1d/lagrange_approx_1d.html">
lagrange_approx_1d</a>,
a library which
defines and evaluates the Lagrange polynomial p(x) of degree m
which approximates a set of nd data points (x(i),y(i)).
</li>
<li>
<a href = "lagrange_interp_1d/lagrange_interp_1d.html">
lagrange_interp_1d</a>,
a library which
defines and evaluates the Lagrange polynomial p(x)
which interpolates a set of data depending on a 1D argument,
so that p(x(i)) = y(i).
</li>
<li>
<a href = "lagrange_interp_2d/lagrange_interp_2d.html">
lagrange_interp_2d</a>,
a library which
defines and evaluates the Lagrange polynomial p(x,y)
which interpolates a set of data depending on a 2D argument
that was evaluated on a product grid,
so that p(x(i),y(j)) = z(i,j).
</li>
<li>
<a href = "lagrange_interp_nd/lagrange_interp_nd.html">
lagrange_interp_nd</a>,
a library which
defines and evaluates the Lagrange polynomial p(x)
which interpolates a set of data depending on a multidimensional argument
that was evaluated on a product grid,
so that p(x(i)) = z(i).
</li>
<li>
<a href = "laplace_mpi/laplace_mpi.html">
laplace_mpi</a>,
a program which
solves Laplace's equation on a rectangle,
using MPI for parallel execution.
</li>
<li>
<a href = "latin_cover/latin_cover.html">
latin_cover</a>,
a library which
produces N Latin squares which cover an NxN square, or NxN Latin cubes
which cover an NxNxN cube.
</li>
<li>
<a href = "latinize/latinize.html">
latinize</a>,
a library which
adjusts N points in M dimensions to form a Latin Hypercube;
</li>
<li>
<a href = "legendre_rule_fast/legendre_rule_fast.html">
legendre_rule_fast</a>,
a program which
uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
</li>
<li>
<a href = "life_opengl/life_opengl.html">
life_opengl</a>,
a program which
uses OpenGL to display the evolution of John Conway's Game of Life,
by Simon Green.
</li>
<li>
<a href = "lights_out_opengl/lights_out_opengl.html">
lights_out_opengl</a>,
a program which
sets up a Lights Out game and allows the user to solve it,
using the OpenGL graphics window.
</li>
<li>
<a href = "linpack/linpack.html">
linpack</a>,
a library which
solves linear systems for a variety of matrix storage schemes,
real or complex arithmetic, and single or double precision.
The original version of this library is
by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
</li>
<li>
<a href = "linpack_bench/linpack_bench.html">
linpack_bench</a>,
a program which
is a version of the LINPACK benchmark program;
</li>
<li>
<a href = "linpack_d/linpack_d.html">
linpack_d</a>,
a library which
factors matrices in a variety of formats, and solving the
associated linear systems, using double precision real arithmetic;
it includes a function to compute the singular value decomposition (SVD)
of a rectangular matrix.
The original version of this library is
by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
</li>
<li>
<a href = "linpack_s/linpack_s.html">
linpack_s</a>,
a library which
factors matrices in a variety of formats, and solving the
associated linear systems, using single precision real arithmetic;
it includes a function to compute the singular value decomposition (SVD)
of a rectangular matrix.
The original version of this library is
by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
</li>
<li>
<a href = "linplus/linplus.html">
linplus</a>,
a library which
factors/solves/multiplies matrices in a variety of formats;
</li>
<li>
<a href = "llsq/llsq.html">
llsq</a>,
a library which
solves the simple linear least squares problem of finding the formula
of a straight line y=a*x+b which minimizes the root-mean-square error
to a set of N data points.
</li>
<li>
<a href = "machar/machar.html">
machar</a>,
a library which
dynamically computes the values of various machine characteristic constants
by William Cody;
</li>
<li>
<a href = "machine/machine.html">
machine</a>,
a library which
returns tabulated values of the constants associated with computer arithmetic
</li>
<li>
<a href = "makefiles/makefiles.html">
makefiles</a>,
programs which
illustrate the use of makefiles for maintaining a software project;
</li>
<li>
<a href = "mandelbrot/mandelbrot.html">
mandelbrot</a>,
a program which
generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot set;
</li>
<li>
<a href = "mandelbrot_ascii/mandelbrot_ascii.html">
mandelbrot_ascii</a>,
a program which
generates an ASCII text image of the Mandelbrot set,
using just two lines of C code.
</li>
<li>
<a href = "mandelbrot_openmp/mandelbrot_openmp.html">
mandelbrot_openmp</a>,
a program which
generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set,
using OpenMP for parallel execution;
</li>
<li>
<a href = "mandelbrot_ppm/mandelbrot_ppm.html">
mandelbrot_ppm</a>,
a program which
generates a binary Portable Pixel Map (PPM) image of the Mandelbrot set,
by Eric Weeks.
</li>
<li>
<a href = "matmul/matmul.html">
matmul</a>,
a program which
carries out a matrix multiplication benchmark;
</li>
<li>
<a href = "matrix_exponential/matrix_exponential.html">
matrix_exponential</a>,
a library which
demonstrates some simple approaches to the problem of computing the
exponential of a matrix.
</li>
<li>
<a href = "md/md.html">
md</a>,
a program which
carries out a molecular dynamics simulation, and is intended as
a starting point for implementing an OpenMP parallel version.
</li>
<li>
<a href = "md_openmp/md_openmp.html">
md_openmp</a>,
a program which
carries out a molecular dynamics simulation in parallel using OpenMP.
</li>
<li>
<a href = "memory_test/memory_test.html">
memory_test</a>,
a program which
tests the memory available on the computer by declaring
and using big vectors.
</li>
<li>
<a href = "mesh_io/mesh_io.html">
mesh_io</a>,
a library which
can read or write MESH files, which can be used to define the geometry
of a finite element mesh in 2D or 3D, using triangles, quadrilaterals,
tetrahedrons or hexahedrons.
</li>
<li>
<a href = "mesh_to_ice/mesh_to_ice.html">
mesh_to_ice</a>,
a program which
reads the ICE dataset information from a MESH files and rewrites
it to a netcddf file.
</li>
<li>
<a href = "mesh2dual/mesh2dual.html">
mesh2dual</a>,
a program which
used the metis library to convert
a finite element mesh to a dual graph.
</li>
<li>
<a href = "mesh2nodal/mesh2nodal.html">
mesh2nodal</a>,
a program which
uses the metis library to convert
a finite element mesh to a nodal graph.
</li>
<li>
<a href = "mesh_bandwidth/mesh_bandwidth.html">
mesh_bandwidth</a>,
a program which
returns the geometric bandwidth associated with a mesh of
elements of any order and in a space of M dimensions.
</li>
<li>
<a href = "metis/metis.html">
metis</a>,
a library which
partitions the nodes of a graph or the elements of a mesh, for division among
a number of parallel processes, or to reorder the variables in a sparse
matrix to minimize fillin;
</li>
<li>
<a href = "mgmres/mgmres.html">
mgmres</a>,
a library which
applies the restarted generalized minimum residual (GMRES) algorithm
to a sparse linear system,
by Lili Ju;
</li>
<li>
<a href = "mgs/mgs.html">
mgs</a>,
a library which
is an example of legacy code, which the student is encouraged to
study, understand, and document. This example is due to Diane O'Leary.
</li>
<li>
<a href = "mixed/mixed.html">
mixed</a>,
programs which
illustrate the use of mixed language programming in which the main
routine is written in C;
</li>
<li>
<a href = "mm_io/mm_io.html">
mm_io</a>,
a library which
reads and writes a Matrix Market (MM) Sparse Matrix File;
</li>
<li>
<a href = "mpi/mpi.html">
mpi</a>,
programs which
illustrate the use of the Message Passing Interface (MPI)
library, for parallel programming;
</li>
<li>
<a href = "mpi_stubs/mpi_stubs.html">
mpi_stubs</a>,
a library which
may be used if a parallel program is to be compiled, loaded and run in a
serial machine.
</li>
<li>
<a href = "mri_to_ascii/mri_to_ascii.html">
mri_to_ascii</a>,
a program which
converts the binary data in a Magnetic Resonance Imaging (MRI) file to ASCII text.
</li>
<li>
<a href = "mri_to_pgm/mri_to_pgm.html">
mri_to_pgm</a>,
a program which
converts the binary data in a Magnetic Resonance Imaging (MRI) file
to a sequence of PGM image files.
</li>
<li>
<a href = "multigrid_poisson_1d/multigrid_poisson_1d.html">
multigrid_poisson_1d</a>,
a library which
applies the multigrid method to a discretized version of the
1D Poisson equation.
</li>
<li>
<a href = "multitask_mpi/multitask_mpi.html">
multitask_mpi</a>,
a program which
demonstrates how to multitask, that is, to execute several unrelated
and distinct tasks simultaneously, using MPI for parallel execution.
</li>
<li>
<a href = "multitask_openmp/multitask_openmp.html">
multitask_openmp</a>,
a program which
demonstrates how to multitask, that is, to execute several unrelated
and distinct tasks simultaneously, using OpenMP for parallel execution.
</li>
<li>
<a href = "mxm/mxm.html">
mxm</a>,
a program which
sets up a matrix multiplication problem A=B*C of arbitrary size,
and compares the time required for ijk, ikj, jik, jki, kij and kji orderings
of the loops.
</li>
<li>
<a href = "mxm_openmp/mxm_openmp.html">
mxm_openmp</a>,
a program which
computes a dense matrix product C=A*B,
using OpenMP for parallel execution.
</li>
<li>
<a href = "mxm_serial/mxm_serial.html">
mxm_serial</a>,
a program which
sets up a matrix multiplication problem A=B*C,
intended as a starting point for implementing a parallel version.
</li>
<li>
<a href = "mxv/mxv.html">
mxv</a>,
a program which
compares the performance of (for i, for j) loops and (for j, for i) loops
for computing the product of an MxN matrix A and an N vector X.
</li>
<li>
<a href = "mxv_openmp/mxv_openmp.html">
mxv_openmp</a>,
a program which
compares the performance of the matrix multiplication problem
y=A*x, with and without parallelization by OpenMP.
</li>
<li>
<a href = "nas/nas.html">
nas</a>,
a program which
runs the NASA kernel benchmark.
</li>
<li>
<a href = "nearest_interp_1d/nearest_interp_1d.html">
nearest_interp_1d</a>,
a library which
interpolates a set of data using a piecewise constant interpolant
defined by the nearest neighbor criterion.
</li>
<li>
<a href = "netcdf/netcdf.html">
netcdf</a>,
programs which
read and write netcdf files.
</li>
<li>
<a href = "normal/normal.html">
normal</a>,
a library which
generates pseudorandom normal values;
</li>
<li>
<a href = "nsasm/nsasm.html">
nsasm</a>,
a library which
computes the jacobian matrix associated
with a finite element approximation of the incompressible
steady Navier-Stokes equations in 2D, and to store these as
a sparse matrix, by Per-Olof Persson.
</li>
<li>
<a href = "obj_to_ply/obj_to_ply.html">
obj_to_ply</a>,
a program which
converts a 3D graphics file from OBJ format to
PLY format format, by Greg Turk.
</li>
<li>
<a href = "ode/ode.html">
ode</a>,
a library which
solves a system of ordinary differential equations (ODEs),
by Shampine and Gordon;
</li>
<li>
<a href = "ode_moshier/ode_moshier.html">
ode_moshier</a>,
a library which
implements the Adams-Bashforth-Moulton and Runge-Kutta (RK) methods of
solving systems of ordinary differential equations (ODE's),
by Steven Moshier.
</li>
<li>
<a href = "oemetis/oemetis.html">
oemetis</a>,
a program which
uses the metis library to reorder
the variables in a sparse matrix.
</li>
<li>
<a href = "onmetis/onmetis.html">
onmetis</a>,
a program, using the metis library, which can reorder
the variables in a sparse matrix.
</li>
<li>
<a href = "opengl/opengl.html">
opengl</a>,
programs which
illustrate the use of the OpenGL graphics library;
</li>
<li>
<a href = "openmp/openmp.html">
openmp</a>,
programs which
illustrate the use of the OpenMP interface for
parallel programming shared memory system;
</li>
<li>
<a href = "openmp_stubs/openmp_stubs.html">
openmp_stubs</a>,
a library which
is a dummy implementation of the OpenMP routines,
and can be used to compile, load, and run a program using OpenMP on a
system which does not have OpenMP installed.
</li>
<li>
<a href = "optimize/optimize.html">
optimize</a>,
a program which
looks at the use of automatic optimization by the compiler
to make the executable code run faster.
</li>
<li>
<a href = "owens/owens.html">
owens</a>,
a library which
evaluates Owen's T function;
</li>
<li>
<a href = "paranoia/paranoia.html">
paranoia</a>,
a program which
checks the accuracy of the floating point arithmetic on a computer.
</li>
<li>
<a href = "partdmesh/partdmesh.html">
partdmesh</a>,
a program, using the metis library, which can partition
a finite element mesh after constructing the dual graph.
</li>
<li>
<a href = "partition_problem/partition_problem.html">
partition_problem</a>,
a library which
seeks solutions of the partition problem, splitting a set of integers into
two subsets with equal sum.
</li>
<li>
<a href = "partnmesh/partnmesh.html">
partnmesh</a>,
a program, using the metis library, which can partition
a finite element mesh after constructing the nodal graph.
</li>
<li>
<a href = "pbma_io/pbma_io.html">
pbma_io</a>,
a library which
reads or writes an ASCII Portable Bit Map (PBM) bit map graphics file;
</li>
<li>
<a href = "pbmb_io/pbmb_io.html">
pbmb_io</a>,
a library which
reads or writes a binary Portable Bit Map (PBM) graphics file;
</li>
<li>
<a href = "pbmlib/pbmlib.html">
pbmlib</a>,
a library which
reads or writes graphics files in the Portable Bit Map (PBM) format;
</li>
<li>
<a href = "pce_burgers/pce_burgers.html">
pce_burgers</a>,
a program which
defines and solves a version of the time-dependent viscous Burgers equation,
with uncertain viscosity,
using a polynomial chaos expansion in terms of Hermite polynomials,
by Gianluca Iaccarino.
</li>
<li>
<a href = "pce_ode_hermite/pce_ode_hermite.html">
pce_ode_hermite</a>,
a program which
sets up a simple scalar ordinary differential equation (ODE)
for exponential decay with an uncertain
decay rate, using a polynomial chaos expansion in terms of Hermite polynomials.
</li>
<li>
<a href = "pcl_read/pcl_read.html">
pcl_read</a>,
a program which
reads a PCL file and extracts the numeric data;
</li>
<li>
<a href = "peri1d/peri1d.html">
peri1d</a>,
a program which
sets up and solves a 1D time-dependent peridynamics problem,
by Miroslav Stoyanov;
</li>
<li>
<a href = "peri2d/peri2d.html">
peri2d</a>,
a program which
sets up and solves a 2D time-dependent peridynamics problem,
by Miroslav Stoyanov;
</li>
<li>
<a href = "pgma_io/pgma_io.html">
pgma_io</a>,
a library which
reads or writes ASCII Portable Gray Map (PGM) 2D graphics files;
</li>
<li>
<a href = "pgmb_io/pgmb_io.html">
pgmb_io</a>,
a library which
reads or writes a binary Portable Gray Map (PGM) 2D graphics file;
</li>
<li>
<a href = "pig_latin/pig_latin.html">
pig_latin</a>,
a program which
converts its input to Pig Latin; a winner of the International
Obfuscated C Code Competition in the Most Humorous category,
by Don Dodson;
</li>
<li>
<a href = "pink_noise/pink_noise.html">
pink_noise</a>,
a library which
computes a pink noise signal obeying a 1/f power law.
</li>
<li>
<a href = "plato_ply/plato_ply.html">
plato_ply</a>,
a program which
writes a PLY graphics file for any platonic solid,
by Greg Turk.
</li>
<li>
<a href = "ply_io/ply_io.html">
ply_io</a>,
a library which
reads or writes a 3D graphics file in PLY format,
by Greg Turk;
</li>
<li>
<a href = "ply_to_iv/ply_to_iv.html">
ply_to_iv</a>,
a program which
converts a 3D graphics file from PLY format to Inventor (IV) format,
by Greg Turk.
</li>
<li>
<a href = "ply_to_obj/ply_to_obj.html">
ply_to_obj</a>,
a program which
converts a 3D graphics file from PLY format to OBJ format,
by Greg Turk.
</li>
<li>
<a href = "point_merge/point_merge.html">
point_merge</a>,
a library which
considers N points in M dimensional space, and counts or indexes
the unique or tolerably unique items.
</li>
<li>
<a href = "poisson_openmp/poisson_openmp.html">
poisson_openmp</a>,
a program which
computes an approximate solution to the Poisson equation in a rectangle,
using the Jacobi iteration to solve the linear system, and OpenMP to
carry out the Jacobi iteration in parallel.
</li>
<li>
<a href = "poisson_serial/poisson_serial.html">
poisson_serial</a>,
a 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.
</li>
<li>
<a href = "poisson_simulation/poisson_simulation.html">
poisson_simulation</a>,
a library which
simulates a Poisson process in which events randomly occur with an
average waiting time of Lambda.
</li>
<li>
<a href = "polpak/polpak.html">
polpak</a>,
a library which
evaluates a variety of mathematical functions, including
Chebyshev, Gegenbauer, Hermite, Jacobi, Laguerre, Legendre polynomials,
and the Collatz sequence.
</li>
<li>
<a href = "polygon_moments/polygon_moments.html">
polygon_moments</a>,
a library which
computes arbitrary moments of a polygon.
</li>
<li>
<a href = "power_method/power_method.html">
power_method</a>,
a library which
carries out the power method for finding a dominant eigenvalue
and its eigenvector.
</li>
<li>
<a href = "ppma_io/ppma_io.html">
ppma_io</a>,
a library which
reads or writes an ASCII Portable Pixel Map (PPM) 2D graphics file;
</li>
<li>
<a href = "ppmb_io/ppmb_io.html">
ppmb_io</a>,
a library which
reads or writes a binary Portable Pixel Map (PPM) 2D graphics file;
</li>
<li>
<a href = "prime_mpi/prime_mpi.html">
prime_mpi</a>,
a program which
counts the number of primes between 1 and N,
using MPI for parallel execution.
</li>
<li>
<a href = "prime_openmp/prime_openmp.html">
prime_openmp</a>,
a program which
counts the number of primes between 1 and N,
using OpenMP for parallel execution.
</li>
<li>
<a href = "prime_serial/prime_serial.html">
prime_serial</a>,
a program which
counts the number of primes between 1 and N,
and is intended as a starting point for a parallel version.
</li>
<li>
<a href = "pthreads/pthreads.html">
pthreads</a>,
programs which
illustrate the use of the POSIX thread library to carry out
parallel program execution.
</li>
<li>
<a href = "pwl_approx_1d/pwl_approx_1d.html">
pwl_approx_1d</a>,
a library which
approximates a set of data using a piecewise linear function.
</li>
<li>
<a href = "pwl_interp_1d/pwl_interp_1d.html">
pwl_interp_1d</a>,
a library which
interpolates a set of data using a piecewise linear function.
</li>
<li>
<a href = "pwl_interp_2d/pwl_interp_2d.html">
pwl_interp_2d</a>,
a library which
evaluates a piecewise linear interpolant to data defined on
a regular 2D grid.
</li>
<li>
<a href = "pwl_interp_2d_scattered/pwl_interp_2d_scattered.html">
pwl_interp_2d_scattered</a>,
a library which
evaluates a piecewise linear interpolant to data which is available
at an irregularly arranged set of points.
</li>
<li>
<a href = "qr_solve/qr_solve.html">
qr_solve</a>,
a library which
computes the least squares solution of a linear system A*x=b.
</li>
<li>
<a href = "quad_mpi/quad_mpi.html">
quad_mpi</a>,
a program which
applies a quadrature rule to estimate an
integral, working in parallel by using MPI;
</li>
<li>
<a href = "quad_openmp/quad_openmp.html">
quad_openmp</a>,
a program which
applies a quadrature rule to estimate an integral over a 1D interval,
using OpenMP for parallel execution;
</li>
<li>
<a href = "quad_serial/quad_serial.html">
quad_serial</a>,
a program which
applies a quadrature rule to estimate an integral,
intended as a starting point for parallelization exercises.
</li>
<li>
<a href = "quad2d_openmp/quad2d_openmp.html">
quad2d_openmp</a>,
a program which
applies a product quadrature rule to estimate an integral over a 2D rectangle,
using OpenMP for parallel execution;
</li>
<li>
<a href = "quad2d_serial/quad2d_serial.html">
quad2d_serial</a>,
a program which
applies a product quadrature rule to estimate an integral over a 2D rectangle,
intended as a starting point for parallelization exercises.
</li>
<li>
<a href = "quadrule/quadrule.html">
quadrule</a>,
a library which
defines quadrature rules for approximating integrals;
</li>
<li>
<a href = "qvoronoi/qvoronoi.html">
qvoronoi</a>,
a program which
computes the Voronoi diagram
of a pointset in M dimensions; this program is part of the qhull package;
</li>
<li>
<a href = "r4lib/r4lib.html">
r4lib</a>,
a library which
contains many utility routines, using single precision real (R4) arithmetic.
</li>
<li>
<a href = "r8lib/r8lib.html">
r8lib</a>,
a library which
contains many utility routines, using double precision real (R8) arithmetic.
</li>
<li>
<a href = "rand48/rand48.html">
rand48</a>,
a program which
demonstrates the use of the rand48 family of random number generators
available in the C/C++ standard library.
</li>
<li>
<a href = "randlc/randlc.html">
randlc</a>,
a library which
generates a sequence of pseudorandom numbers,
used by the NAS Benchmark programs.
</li>
<li>
<a href = "random_mpi/random_mpi.html">
random_mpi</a>,
a program which
demonstrates one way to generate the same sequence of random numbers
for both sequential execution and parallel execution under MPI.
</li>
<li>
<a href = "random_openmp/random_openmp.html">
random_openmp</a>,
a program which
illustrates how a parallel program using OpenMP can generate multiple
distinct streams of random numbers.
</li>
<li>
<a href = "rbf_interp_1d/rbf_interp_1d.html">
rbf_interp_1d</a>,
a library which
defines and evaluates radial basis function (RBF) interpolants to 1D data.
</li>
<li>
<a href = "rbf_interp_2d/rbf_interp_2d.html">
rbf_interp_2d</a>,
a library which
defines and evaluates radial basis function (RBF) interpolants to 2D data.
</li>
<li>
<a href = "rbf_interp_nd/rbf_interp_nd.html">
rbf_interp_nd</a>,
a library which
defines and evaluates radial basis function (RBF) interpolants to multidimensional data.
</li>
<li>
<a href = "rbox/rbox.html">
rbox</a>,
a program which
generates random pointsets for testing computational geometry algorithms;
</li>
<li>
<a href = "reactor_simulation/reactor_simulation.html">
reactor simulation</a>,
a program which
is a simple Monte Carlo simulation of the shielding effect of a slab
of a certain thickness in front of a neutron source. This program was
provided as an example with the book "Numerical Methods and Software."
</li>
<li>
<a href = "ring_mpi/ring_mpi.html">
ring_mpi</a>,
a program which
uses the MPI parallel programming environment, and measures the time
necessary to copy a set of data around a ring of processes.
</li>
<li>
<a href = "rk4/rk4.html">
rk4</a>,
a library which
applies the fourth order Runge-Kutta (RK) algorithm to estimate the
solution of an ordinary differential equation (ODE) at the next time step.
</li>
<li>
<a href = "rkf45/rkf45.html">
rkf45</a>,
a library which
applies the Runge-Kutta-Fehlberg (RKF)
algorithm to solve a system of ordinary differential equations (ODE's);
</li>
<li>
<a href = "sandia_rules/sandia_rules.html">
sandia_rules</a>,
a library which
can produce a standard 1D Gauss quadrature rule of
Chebyshev, Gegenbauer, generalized Hermite, generalized Laguerre, Hermite,
Jacobi, Laguerre, and Legendre types.
</li>
<li>
<a href = "satisfy/satisfy.html">
satisfy</a>,
a program which
demonstrates, for a particular circuit, an exhaustive search
for solutions of the circuit satisfy problem.
</li>
<li>
<a href = "satisfy_mpi/satisfy_mpi.html">
satisfy_mpi</a>,
a program which
demonstrates, for a particular circuit, an exhaustive search
for solutions of the circuit satisfy problem,
using MPI to perform the calculation in parallel.
</li>
<li>
<a href = "satisfy_openmp/satisfy_openmp.html">
satisfy_openmp</a>,
a program which
demonstrates, for a particular circuit, an exhaustive search
for solutions of the circuit satisfy problem,
using OpenMP for parallel execution.
</li>
<li>
<a href = "schedule_openmp/schedule_openmp.html">
schedule_openmp</a>,
a program which
demonstrates the default, static, and dynamic methods of scheduling
loop iterations in OpenMP to avoid work imbalance.
</li>
<li>
<a href = "sde/sde.html">
sde</a>,
a library which
illustrates the properties of stochastic differential equations (SDE's), and
common algorithms for their analysis,
by Desmond Higham;
</li>
<li>
<a href = "search_mpi/search_mpi.html">
search_mpi</a>,
a program which
searches integers between A and B for a solution J such that F(J)=C,
carried out in parallel using MPI.
</li>
<li>
<a href = "search_serial/search_serial.html">
search_serial</a>,
a 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.
</li>
<li>
<a href = "sftpack/sftpack.html">
sftpack</a>,
a library which
implements the slow Fourier transform, intended as a teaching
tool and comparison with the Fast Fourier Transform (FFT).
</li>
<li>
<a href = "sgefa_openmp/sgefa_openmp.html">
sgefa_openmp</a>,
a program which
compares a standard linear algebra solver against a revised version
which can be run in parallel with OpenMP.
</li>
<li>
<a href = "sgmga/sgmga.html">
sgmga</a>,
a library which
creates sparse grids based on a mixture of 1D quadrature rule families,
allowing user specified growth rates for each family,
allowing anisotropic weights for each dimension.
</li>
<li>
<a href = "shepard_interp_1d/shepard_interp_1d.html">
shepard_interp_1d</a>,
a library which
defines and evaluates Shepard interpolants to 1D data,
based on inverse distance weighting.
</li>
<li>
<a href = "shepard_interp_2d/shepard_interp_2d.html">
shepard_interp_2d</a>,
a library which
defines and evaluates Shepard interpolants to 2D data,
based on inverse distance weighting.
</li>
<li>
<a href = "shepard_interp_nd/shepard_interp_nd.html">
shepard_interp_nd</a>,
a library which
defines and evaluates Shepard interpolants to multidimensional data,
based on inverse distance weighting.
</li>
<li>
<a href = "showme/showme.html">
showme</a>,
a program which
displays triangulations and meshes,
by Jonathan Shewchuk;
</li>
<li>
<a href = "simplex_coordinates/simplex_coordinates.html">
simplex_coordinates</a>,
a library which
computes the Cartesian coordinates of the vertices of a regular
simplex in M dimensions.
</li>
<li>
<a href = "sine_transform/sine_transform.html">
sine_transform</a>,
a library which
demonstrates some simple properties of the discrete sine transform.
</li>
<li>
<a href = "smolpack/smolpack.html">
smolpack</a>,
a library which
estimates the integral of a function
over an M-dimensional hypercube using a sparse grid,
by Knut Petras;
</li>
<li>
<a href = "sparse_interp_nd/sparse_interp_nd.html">
sparse_interp_nd</a>,
a library which
can be used to define a sparse interpolant to a function f(x) of a
multidimensional argument.
</li>
<li>
<a href = "sphere_grid/sphere_grid.html">
sphere_grid</a>,
a library which
provides a number of ways of generating grids of points, or of
points and lines, or of points and lines and faces, over the unit sphere.
</li>
<li>
<a href = "sphere_lebedev_rule/sphere_lebedev_rule.html">
sphere_lebedev_rule</a>,
a library which
computes Lebedev quadrature rules for the unit sphere;
</li>
<li>
<a href = "sphere_quad/sphere_quad.html">
sphere_quad</a>,
a library which
approximates an integral over the surface of the unit sphere
by applying a triangulation to the surface;
</li>
<li>
<a href = "spline/spline.html">
spline</a>,
a library which
interpolates or approximates data by piecewise polynomial functions;
</li>
<li>
<a href = "spring_ode/spring_ode.html">
spring_ode</a>,
a program which
shows how line printer graphics can be used to make a crude illustration
of a solution of the ordinary differential equation (ODE) that describes
the motion of a weight attached to a spring.
</li>
<li>
<a href = "spring_ode2/spring_ode2.html">
spring_ode2</a>,
a program which
shows how gnuplot graphics can be used to illustrate
a solution of the ordinary differential equation (ODE) that describes
the motion of a weight attached to a spring.
</li>
<li>
<a href = "star_discrepancy/star_discrepancy.html">
star_discrepancy</a>,
a program which
computes bounds on the star discrepancy of a set of N points
in M dimensions,
by Eric Thiemard.
</li>
<li>
<a href = "stochastic_rk/stochastic_rk.html">
stochastic_rk</a>,
a library which
applies a Runge-Kutta (RK) scheme to a stochastic ordinary differential equation (ODE).
</li>
<li>
<a href = "string_simulation/string_simulation.html">
string_simulation</a>,
a program which
simulates the behavior of a vibrating string.
</li>
<li>
<a href = "stroud/stroud.html">
stroud</a>,
a library which
defines rules for numerical integration (quadrature)
over M dimensional regions, including spheres, toruses and
other shapes;
</li>
<li>
<a href = "subpak/subpak.html">
subpak</a>,
a library which
contains many utility routines;
</li>
<li>
<a href = "subset/subset.html">
subset</a>,
a library which
ranks, unranks, and generates random
subsets, combinations, permutations;
</li>
<li>
<a href = "subset_sum/subset_sum.html">
subset_sum</a>,
a program which
seeks solutions of the subset sum problem.
</li>
<li>
<a href = "sum_million/sum_million.html">
sum_million</a>,
a program which
sums the integers from 1 to 1,000,000, as a demonstration of how
to rate a computer's speed;
</li>
<li>
<a href = "super_blas/super_blas.html">
super_blas</a>,
a library which
implements some of the BLAS routines, for
particular use by super_lu;
</li>
<li>
<a href = "super_lu/super_lu.html">
super_lu</a>,
a library which
implements a very fast direct solver
for sparse linear systems;
</li>
<li>
<a href = "svd_demo/svd_demo.html">
svd_demo</a>,
a program which
demonstrates the calculation of the
singular value decomposition (SVD) and some of its properties;
</li>
<li>
<a href = "sweep2/sweep2.html">
sweep2</a>,
a program which
computes Voronoi Diagrams or Delaunay triangulations,
by Steve Fortune;
</li>
<li>
<a href = "table_io/table_io.html">
table_io</a>,
a library which
reads and writes a simple dataset stored as a table file;
</li>
<li>
<a href = "task_division/task_division.html">
task_division</a>,
a library which
implements a simple procedure for smoothly dividing T tasks among
P processors; such a method can be useful in MPI and other parallel
environments, particularly when T is not an exact multiple of P,
and when the processors can be indexed starting from 0 or from 1.
</li>
<li>
<a href = "test_approx/test_approx.html">
test_approx</a>,
a library which
implements test problems for approximation,
provided as a set of (x,y) data.
</li>
<li>
<a href = "test_eigen/test_eigen.html">
test_eigen</a>,
a library which
implements test matrices for eigenvalue analysis.
</li>
<li>
<a href = "test_int/test_int.html">
test_int</a>,
a library which
implements test problems for
approximate integration (quadrature) in one dimension.
</li>
<li>
<a href = "test_int_2d/test_int_2d.html">
test_int_2d</a>,
a library which
implements test problems for
approximate integration (quadrature) in two dimensions.
</li>
<li>
<a href = "test_int_hermite/test_int_hermite.html">
test_int_hermite</a>,
a library which
defines test integrands for Hermite integrals with
interval (-oo,+oo) and weight exp(-x^2).
</li>
<li>
<a href = "test_int_laguerre/test_int_laguerre.html">
test_int_laguerre</a>,
a library which
implements test problems for
approximate integration over a semi-infinite interval,
often carried out using Gauss-Laguerre quadrature.
</li>
<li>
<a href = "test_interp/test_interp.html">
test_interp</a>,
a library which
defines test problems for interpolation,
provided as a set of (x,y) data.
</li>
<li>
<a href = "test_interp_1d/test_interp_1d.html">
test_interp_1d</a>,
a library which
defines test problems for interpolation of data y(x),
which depends on a 1D argument.
</li>
<li>
<a href = "test_interp_2d/test_interp_2d.html">
test_interp_2d</a>,
a library which
defines test problems for interpolation of data z(x,y),
which depends on a 2D argument.
</li>
<li>
<a href = "test_interp_nd/test_interp_nd.html">
test_interp_nd</a>,
a library which
defines test problems for interpolation of data z(x),
depending on an M-dimensional argument.
</li>
<li>
<a href = "test_ls/test_ls.html">
test_ls</a>,
a library which
implements linear least squares test problems of the form A*x=b.
</li>
<li>
<a href = "test_mat/test_mat.html">
test_mat</a>,
a library which
implements test matrices.
</li>
<li>
<a href = "test_matrix_exponential/test_matrix_exponential.html">
test_matrix_exponential</a>,
a library which
defines a set of test cases for computing the matrix exponential.
</li>
<li>
<a href = "test_min/test_min.html">
test_min</a>,
a library which
implements test problems for
minimization of a scalar function of a scalar variable.
</li>
<li>
<a href = "test_opt_con/test_opt_con.html">
test_opt_con</a>,
a library which
defines test problems for the minimization of a scalar function of several variables,
with the search constrained to lie within a specified hyper-rectangle.
</li>
<li>
<a href = "test_optimization/test_optimization.html">
test_optimization</a>,
a library which
implements test problems for optimization
of a scalar function of several variables,
as described by Molga and Smutnicki.
</li>
<li>
<a href = "test_values/test_values.html">
test_values</a>,
a library which
returns a small set of values
for a variety of mathematical functions,
suitable for a rough test of accuracy for algorithms;
</li>
<li>
<a href = "test_zero/test_zero.html">
test_zero</a>,
a library which
implements test problems for the solution
of a single nonlinear equation in one variable.
</li>
<li>
<a href = "testpack/testpack.html">
testpack</a>,
a program which
demonstrates the use of
a set of test integrand functions chosen by Alan Genz.
</li>
<li>
<a href = "tetrahedron_grid/tetrahedron_grid.html">
tetrahedron_grid</a>,
a library which
computes a grid of points inside a 3D tetrahedron.
</li>
<li>
<a href = "three_body_simulation/three_body_simulation.html">
three_body_simulation</a>,
a program which
simulates the behavior of three planets, constrained to lie in a plane,
and moving under the influence of gravity,
by Walter Gander and Jiri Hrebicek.
</li>
<li>
<a href = "timer/timer.html">
timer</a>,
programs which
illustrate how to estimate the CPU time taken by a portion of a program;
</li>
<li>
<a href = "timestamp/timestamp.html">
timestamp</a>,
a library which
returns the current YMDHMS date as a timestamp, and performs other chores;
</li>
<li>
<a href = "toeplitz_cholesky/toeplitz_cholesky.html">
toeplitz_cholesky</a>,
a library which
computes the Cholesky factorization of a nonnegative definite symmetric
Toeplitz matrix.
</li>
<li>
<a href = "toms178/toms178.html">
toms178</a>,
a library which
seeks the minimizer of a function of several variables, using the
Hooke-Jeeves direct search method, by Arthur Kaupe.
this is a C version of ACM TOMS algorithm 178.
</li>
<li>
<a href = "toms179/toms179.html">
toms179</a>,
a library which
calculates the incomplete Beta ratio,
by Oliver Ludwig;
this is a C version of ACM TOMS algorithm 179.
</li>
<li>
<a href = "toms291/toms291.html">
toms291</a>
a library which
approximates the logarithm of the Gamma function;
this is a C version of ACM TOMS algorithm 291.
</li>
<li>
<a href = "toms322/toms322.html">
toms322</a>,
a library which
evaluates the F and Student's T Cumulative Density Function (CDF);
this is a C version of ACM TOMS algorithm 322.
</li>
<li>
<a href = "toms446/toms446.html">
toms446</a>,
a library which
manipulates Chebyshev series for interpolation and approximation;
this is a C version of ACM TOMS algorithm 446,
by Roger Broucke.
</li>
<li>
<a href = "toms462/toms462.html">
toms462</a>,
a library which
evaluates the upper right tail of the bivariate normal distribution; that is,
the probability that normal variables X and Y with correlation R will
satisfy H <= X and K <= Y;
this is a C version of ACM TOMS algorithm 462.
</li>
<li>
<a href = "toms655/toms655.html">
toms655</a>,
a library which
computes the weights for interpolatory quadrature rule;
this library is commonly called IQPACK;
this is a C version of ACM TOMS algorithm 655.
</li>
<li>
<a href = "toms722/toms722.html">
toms722</a>,
a library which
supports IEEE arithmetic.
</li>
<li>
<a href = "triangle/triangle.html">
triangle</a>,
a program which
generates meshes, Delaunay triangulations, and Voronoi diagrams,
by Jonathan Shewchuk;
</li>
<li>
<a href = "triangle_grid/triangle_grid.html">
triangle_grid</a>,
a library which
computes a triangular grid of points.
</li>
<li>
<a href = "triangle_io/triangle_io.html">
triangle_io</a>,
a library which
can read or write some of the files created by Jonathan Shewchuk's
triangle program.
</li>
<li>
<a href = "triangulate/triangulate.html">
triangulate</a>,
a program which
triangulates a polygonal region,
by Joseph ORourke;
</li>
<li>
<a href = "triangulation/triangulation.html">
triangulation</a>,
a library which
computes the triangulation of
a set of points in the plane, and to perform various operations
using a triangulation;
</li>
<li>
<a href = "triangulation_triangle_neighbors/triangulation_triangle_neighbors.html">
triangulation_triangle_neighbors</a>,
a program which
reads data defining a triangulation, finds the three neighbor
triangles for each triangle, and writes them to a file;
</li>
<li>
<a href = "trig_to_neib/trig_to_neib.html">
trig_to_neib</a>,
a program which
reads node and ele files (a format prescribed by triangle)
describing a triangulation, and produces a file defining the
neighbor triangles of each element; the program can also produce
information about the Voronoi diagram. The program is by Lili Ju.
</li>
<li>
<a href = "unicycle/unicycle.html">
unicycle</a>,
a library which
considers permutations containing a single cycle, sometimes called cyclic permutations.
</li>
<li>
<a href = "uniform/uniform.html">
uniform</a>,
a library which
generates uniform pseudorandom values;
</li>
<li>
<a href = "uudecode/uudecode.html">
uudecode</a>,
a program which
recovers the original file from a UU encoded file,
by Stephen Satchell and Chuck Forsberg.
</li>
<li>
<a href = "uuencode/uuencode.html">
uuencode</a>,
a program which
takes an input file, especially a binary file,
and creates a UU encoded copy that is a text file, suitable for
transmission through mail or other text-only systems,
by Stephen Satchell and Chuck Forsberg.
</li>
<li>
<a href = "valgrind/valgrind.html">
valgrind</a>,
programs which
illustrate the use of the valgrind suite of programs which includes
a memory leak detector.
</li>
<li>
<a href = "vandermonde_approx_1d/vandermonde_approx_1d.html">
vandermonde_approx_1d</a>,
a library which
finds a polynomial approximant to data y(x) of a 1D argument by setting up and
solving an overdetermined linear system for the polynomial coefficients
involving the Vandermonde matrix.
</li>
<li>
<a href = "vandermonde_approx_2d/vandermonde_approx_2d.html">
vandermonde_approx_2d</a>,
a library which
finds a polynomial approximant p(x,y) to data z(x,y) of a 2D argument by setting up and
solving an overdetermined linear system for the polynomial coefficients
involving the Vandermonde matrix.
</li>
<li>
<a href = "vandermonde_interp_1d/vandermonde_interp_1d.html">
vandermonde_interp_1d</a>,
a library which
finds a polynomial interpolant to data y(x) of a 1D argument by setting up and
solving a linear system for the polynomial coefficients
involving the Vandermonde matrix.
</li>
<li>
<a href = "vandermonde_interp_2d/vandermonde_interp_2d.html">
vandermonde_interp_2d</a>,
a library which
finds a polynomial interpolant to data z(x,y) of a 2D argument by setting up and
solving a linear system for the polynomial coefficients
involving the Vandermonde matrix.
</li>
<li>
<a href = "walsh/walsh.html">
walsh</a>,
a library which
implements versions of the Walsh and Haar transforms.
</li>
<li>
<a href = "wavelet/wavelet.html">
wavelet</a>,
a library which
does some simple wavelet calculations;
</li>
<li>
<a href = "weekday/weekday.html">
weekday</a>,
a library which
determines the day of the week corresponding to a given date,
such as 14 October 1066, Julian calendar, ... which was a Saturday.
</li>
<li>
<a href = "wtime/wtime.html">
wtime</a>,
a library which
returns a reading of the wall clock time in seconds.
</li>
<li>
<a href = "xboids/xboids.html">
xboids</a>,
a program which
simulates the behavior of a flying flock of animals,
displaying the results using X Windows,
by Conrad Parker.
</li>
<li>
<a href = "xising/xising.html">
xising</a>,
a program which
models the variations in ferromagnetism in a material, displaying
the results using X Windows,
by Michael Creutz.
</li>
<li>
<a href = "xwaves/xwaves.html">
xwaves</a>,
a program which
simulates the behavior of solutions of certain forms of the wave equation, displaying
the results using X Windows,
by Michael Creutz.
</li>
<li>
<a href = "ziggurat/ziggurat.html">
ziggurat</a>,
a library which
samples the uniform, normal or exponential distributions, using the ziggurat method,
by Marsaglia and Tsang.
</li>
<li>
<a href = "ziggurat_openmp/ziggurat_openmp.html">
ziggurat_openmp</a>,
a program which
demonstrates how the ziggurat library can be used to generate random numbers
in an OpenMP parallel program.
</li>
</ol>
</p>
<p>
You can go up one level to
<a href = "../index.html">the main web page.</a>
</p>
<hr>
<i>
Last revised on 29 November 2012.
</i>
<!-- John Burkardt -->
forked from johannesgerer/jburkardt-c
-
Notifications
You must be signed in to change notification settings - Fork 1
An official Git Mirror of John Burkardt's great collection of C Software
futurecore/jburkardt-c
Â
Â
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
About
An official Git Mirror of John Burkardt's great collection of C Software
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 97.8%
- Shell 1.5%
- Other 0.7%