Among other things, the GUI makes phase space plots and finds fixed points of the map. We discuss the object hierarchy of the two libraries and use of the code. The Tech-X truncated power series library has been optimized for computational speed. We have applied four techniques. Expression templates increase addition by a large factor by eliminating temporaries and loop unrolling.
Reference counting reduces the cost of function calls.
A power function gives a large reduction in the computational requirements as opposed to multiplication. In combination these techniques lead to factors of several in performance for the basic arithmetic operations. Fields are calculated by a variety of methods. The method is chosen dynamically to take advantage of the best balance between speed and accuracy. Broadband wake fields are included.