Skip to content

Commit

Permalink
📙 Fix notebook formatting and add to Documentation index
Browse files Browse the repository at this point in the history
  • Loading branch information
cbueth committed Jun 27, 2023
1 parent a36a4ef commit 83917d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/guide/40_max_graph_size.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
"\n",
"The distances are calculated as `float64` values, before stored as `float32` values.\n",
"Function of the memory size, dependent on $n$:\n",
"$$\n",
"\\begin{align}\n",
" \\text{memory} &= 8\\,\\text{B} \\cdot n^2 \\\\\n",
" &= 8\\,\\text{B} \\cdot n^2 \\cdot \\frac{\\text{GiB}}{1024^3\\text{B}} \\\\\n",
" &= \\frac{8 \\cdot n^2}{1024^3}\\,\\text{GiB} \\\\\n",
" n &= 2\\sqrt{\\frac{\\text{memory}}{2\\,\\text{GiB}} \\cdot 1024^3}\n",
"\\end{align}\n",
"$$\n",
"To convert bytes to GiB, remark that there are $1024^3$ bytes in a gibibyte (GiB).\n",
"For a $n=100,000$ graph, this is the following memory usage:"
]
Expand Down
3 changes: 2 additions & 1 deletion docs/guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ Reference
20_betweenness_centrality
30_population_density
31_tessellation
32_edge_population
32_edge_population
40_max_graph_size

0 comments on commit 83917d4

Please sign in to comment.