changeset 316 | 8b57dd326a91 |
parent 306 | 1877cc717291 |
child 329 | 8a34b2ebc8cc |
--- a/cws/cw02.tex Sat Nov 09 22:04:53 2019 +0000 +++ b/cws/cw02.tex Mon Nov 11 13:24:12 2019 +0000 @@ -156,6 +156,7 @@ \texttt{overlap}(d_1, d_2) = \frac{d_1 \cdot d_2}{max(d_1^2, d_2^2)} \] + where $d_1^2$ means $d_1 \cdot d_1$ and so on. You can expect this function to return a \texttt{Double} between 0 and 1. The overlap between the lists in (2) is $0.5384615384615384$.