The OSUtils component of the OS library contains utility codes. For example, the FileUtil class contains useful methods for reading files into string or char* and writing files from string and char*. The OSDataStructures class holds other classes for things such as sparse vectors, sparse Jacobians, and sparse Hessians. The MathUtil class contains a method for converting between sparse matrices in row and column major form.