Evan Curtin

Evan's Blog

github linkedin

Math

png

Abstract linear algebra in Python

Lately I’ve been playing around with the anasazi library. It’s basically a library that implements algorithms to solve eigenvalue problems that are all completely unaware of the underling data structures. The way this is done is by …


Use Numba for fast integrals

Here’s a quick tip to make your integrals super fast in python. Suppose you wanted to integrate a function in 3D. We can start by import nquad from scipy and defining our function. from scipy.integrate import nquad from math import sqrt, …