From 2afb23928e1984d475cc460e1672e8f6fa0e4dbe Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 11 Aug 2021 17:21:31 -0400 Subject: Allow clicking on header to get fragment link --- docs/doc/find.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/doc/find.html') diff --git a/docs/doc/find.html b/docs/doc/find.html index 689d8415..85f26297 100644 --- a/docs/doc/find.html +++ b/docs/doc/find.html @@ -4,7 +4,7 @@ BQN: Find -

Find

+

Find

Find () searches for occurrences of an array 𝕨 within 𝕩. The result contains a boolean for each possible location, which is 1 if 𝕨 was found there and 0 if not.

↗️
    "xx"  "xxbdxxxcx"
 ⟨ 1 0 0 0 1 1 0 0 ⟩
@@ -43,7 +43,7 @@ ERROR
 0
 

This pattern also works in the high-rank case discussed below, testing whether 𝕨 is a multi-dimensional prefix starting at the lowest-index corner of 𝕩.

-

Higher ranks

+

Higher ranks

If 𝕨 and 𝕩 are two-dimensional then Find does a two-dimensional search. The cells used are also found in 𝕨𝕩. For example, the bottom-right corner of 𝕩 below matches 𝕨, so there's a 1 in the bottom-right corner of the result.

↗️
     a  7 (4|⋆˜) 9   # Array with patterns
 ┌─                   
-- 
cgit v1.2.3