Next / Previous / Contents / Shipman's homepage

4. Prologue to homcoord.py

Here we present the actual code to the module. This is an example of lightweight literate programming. The development methodology is Cleanroom; the comments within [ square brackets ] are Cleanroom intended functions, a semi-formal declaration of the intended semantics of each section of the code.

The module starts with a documentation block that points back here.

homcoord.py
'''homcoord.py: Homogeneous coordinates with transformations.

  Do not modify this file.  It is generated automatically from
  the documentation, here:
    http://www.nmt.edu/~shipman/soft/homcoord/
'''