{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "In this notebook, let's code up some 2D wave propagation." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Inspiration : https://dionhaefner.github.io/2016/11/suck-less-scientific-python-part-2-efficient-number-crunching/\n", "\n", "(which in turn comes from here: http://matthewrocklin.com/blog/work/2018/01/30/the-case-for-numba)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Explain that we also want to try all the nice visualization goodness coming from Holoviews." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Theory " ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "from numba import njit" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "