Created using Colaboratory

This commit is contained in:
udlbook
2023-10-12 17:25:40 +01:00
parent d174c9f34c
commit 5d578df07b

View File

@@ -4,7 +4,7 @@
"metadata": { "metadata": {
"colab": { "colab": {
"provenance": [], "provenance": [],
"authorship_tag": "ABX9TyPz1VAUhHSOFy2HLE0UEBLV", "authorship_tag": "ABX9TyPRYYQqIr5qXUiwKNtDOVqS",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {
@@ -142,7 +142,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"# Let's do the calculation properly when D<Di\n", "# Let's do the calculation properly when D<Di (see figure 3.10 from the book)\n",
"D = 8; Di = 10\n", "D = 8; Di = 10\n",
"N = np.power(2,D)\n", "N = np.power(2,D)\n",
"# We can equivalently do this by calling number_regions with the D twice\n", "# We can equivalently do this by calling number_regions with the D twice\n",