craig

ODEPACK re-released

Minutes ago I uploaded a tarball containing my re-release of ODEPACK, a standard numerical tool for the solution of systems of ordinary differential equations. The algorithms and numerical code are identical to the distribution found on Netlib, but everything has been placed into an organized “package” with Makefiles, examples, documentation, etc. The code is set

ODEPACK re-released Read More »

Mixing objects of different types in a Boost.python list

Demonstration Code–mixing objects of different types in a Boost.python list In Python, a list is allowed to contain objects of various types. Using Python’s introspection capabilities, it’s easy to process a mixed list because you can just test each list member to see what kind it is, using isinstance(objectA, TypeB). This creates a problem when

Mixing objects of different types in a Boost.python list Read More »

Truss warmers

Truss warmers are lights used to illuminate truss. Truss is fun to light because it’s semi-reflective and has a neutral color, so it easily reflects whatever color is used to light it. We used a little par light on one end of a section of truss to turn it blue, with a “cap” taped on

Truss warmers Read More »