Plain C (ANSI-C) programs
In this section a set of the plain C programs I have written over the years can be found. Though I by now almost entirely have converted to CWEB (which still employs plain C for the actual implementation of the code), I still very much enjoy the compactness that can be achieved with plain C.
Poincare, Revision 1.21
[10/08/2005]
The Poincare computer program
creates topographic maps of Stokes parameters, visualized as trajectories
on the Poincare sphere.
The Poincare program generates
MetaPost source code as
output, to be compiled into
PostScript or
Encapsulated
PostScript, using
John Hobby's
MetaPost compiler or anything that understands the MetaPost syntax.
I have used the Poincare program extensively in my research career, and
the program has been continuously updated for almost nine years by now,
in fact the oldest program I keep active in my stock.
This program was used in the generation of the image that made it to the
front page of issue 4 of J. Opt.
A: Pure Appl. Opt., Vol. 2 (July 2000).
More...
EPSBB, Revision 1.1
[05/08/2004]
A program for the extraction of bounding box coordinates of Encapsulated
PostScript (EPS) images.
This is a home-made successor of the epsbb program which in many
older UNIX systems was included in the standard distribution, but evidently
not in more recent variants such as Free BSD and Mac OS X.
More...