A toolkit for various mathematical problems.