C Source Codes
I've written, converted, modified or simply admired a few C packages.
Some of these are (hand converted) versions of routines I had written
in FORTRAN. You may be able to use one of these libraries, or a routine
or two from a library.
I don't mind receiving your comments, compliments, corrections
or complaints, but please be warned that
I will not do your damn homework.
For each package listed below, if you click on its name, you can see
an expanded explanation of its purpose, a list of its contents, and
copy the entire source code file, a sample calling program, or the
results of running the calling program.
Currently available software includes:
-
ANAGRAM, James Cherry's
program to produce anagrams;
-
BIO, binary data I/O, with byte
swapping possible;
-
BLENDC, 1/2/3D blending
interpolation;
-
CHRPAKC, a small set of
character utilities;
-
CR2LF, convert carriage return
to linefeed;
-
CRC, cyclic redundancy check;
-
D2S, FORTRAN double<=>single precision
converter;
-
DIVDIFC, divided difference
polynomials;
-
GENETIC, simple genetic
algorithms;
-
GEOMETRYC, geometric
calculations;
-
GSL, GNU Scientific Library;
-
HEXDUMP, hexadecimal dump
of a file;
-
HTMLINDEX, builds skeleton
HTML pages from FORTRAN text;
-
HULL, convex hull computation;
-
INDEX, lists routines in a
(marked up) FORTRAN text;
-
IRISTOPC, SGI application
that receives data through a socket, using the UDP protocol;
-
JOINUP, joins a file that was
split into chunks;
-
MACHAR, dynamically computes
constants that define the floating and double precision arithmetic;
-
MPI, the message passing interface,
used for parallel programming in distributed memory systems.
-
OROURKE, computational
geometry routines;
-
PAGES, reports the number of
pages in a file = (lines/60);
-
PARANOIA, makes various
checks of the properties of floating point arithmetic;
-
PCTOIRIS, PC application,
uses WINSOCK API to send data to another machine using UDP protocol;
-
PROBC, probability distributions;
-
RANLIB, random number generation;
-
RBOX, generate random sets of points;
-
SPLINE, interpolation and
approximation with splines;
-
SPLITUP, splits a file into
chunks of given size;
-
SPRNG, random number generators (RETIRED);
-
SUBPAKC, a small utility library;
-
TILER_C_3D, a 3D
transfinite interpolation example;
-
TOMS722, IEEE arithmetic support;
-
TRIANGLE, Delaunay
triangulation;
-
UNCONTROL, remove control
characters from a file;
-
VORONOI,
compute Voronoi diagrams and Delaunay triangulations of 2D data;
-
WRAP, wrap long lines.
-
XBIN,
decodes a file that has been coded by BINHEX.
-
XGL_WRAP, wrap long XGL text lines, breaking just after a tag
closing (RETIRED).
Back to the home page.
Last revised on 04 April 2002.