Snippets to do numerical analysis.