Flexible Library for Efficient Numerical Solutions