Implementations of some numerical algorithms.