A C++ matrix library