You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/function_hashing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ When ``f`` and ``g`` are allowed to take on complex values, ``g(x)`` is replaced
50
50
51
51
Create a hash function for cosine similarity for functions in ``L^2([-1,1])``:
52
52
53
-
```jldoctest; setup = :(using LSHFunctions)
53
+
```
54
54
julia> hashfn = ChebHash(cossim, 50; interval=@interval(-1 ≤ x ≤ 1));
55
55
56
56
julia> n_hashes(hashfn)
@@ -65,7 +65,7 @@ Bool
65
65
66
66
Create a hash function for ``L^2`` distance defined over ``L^2([0,2\pi])``. Hash the functions `f(x) = cos(x)` and `f(x) = x/(2π)` using the returned [`ChebHash`](@ref):
Create a hash function for ``L^2`` distance defined over ``L^2([0,2\\pi])``. Hash the functions `f(x) = cos(x)` and `f(x) = x/(2π)` using the returned `ChebHash`:
0 commit comments