diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-23 21:01:30 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-23 21:01:30 -0500 |
| commit | 8924da5482d91ad21f56428ea5673560f2a265e7 (patch) | |
| tree | 09fcba408fd9556d9a0cc793a40eaf5a7d588544 /src | |
| parent | 549ea80c4ac76b97467688431df8d19d707705d0 (diff) | |
Fill handling for structural Under and shifts
Diffstat (limited to 'src')
| -rw-r--r-- | src/r.bqn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -213,7 +213,7 @@ _under_←{ _at_ ← {(↕≠𝕩) 𝔽⍟((𝔾𝕩)=⊣)¨ 𝕩} Set ← 0⊸{ (𝕨≥≠root)◶⟨≢⥊(1+𝕨)⊸𝕊_at_(𝕨⊑root˙)∘⥊, Set1⟩ 𝕩 } IsArray∘root◶⟨1⊑0⊑𝕨˙, Set⟩ 𝕩 - } + } _fillBy_ ⊢ IsStructErr◶⟨Struct⟜(𝕩˙), {𝕏val}·Inverse𝔾˙⟩ val GetInserts ind } Recompose ← ⊣◶⟨ @@ -524,8 +524,8 @@ Replicate ← IsArray∘⊣◶{ ↕ ↩ Range ⊘ Windows ⌽ ← Reverse ⊘ (Rot _onAxes_ 0) / ← Indices ⊘ Replicate -» ← FC⊸ShiftBefore ⊘ ShiftBefore -« ← FC⊸ShiftAfter ⊘ ShiftAfter +» ← FC⊸ShiftBefore ⊘ ShiftBefore _fillBy_ (⊢⊘IF) +« ← FC⊸ShiftAfter ⊘ ShiftAfter _fillBy_ (⊢⊘IF) _group←{ "⊔: Grouping argument must consist of integers" ! ∧´Int⌜𝕩 |
