Numerical library written in C++