Commit 1bbf666
authored
Nice display for ReshapedOneD (#230)
While `ReshapedOneD` is not itself an AbstractArray (due to needing to
handle IIR types too), it often contains one. In such ases, there are
obvious mechanisms to improve the display.
With this PR, we get:
```julia
julia> kern1, kern2 = kernelfactors((centered([1, 2, 1]), [-1, 0, 1]));
julia> kern1
Reshaped 1d stencil with axes (-1:1, 0:0):
1
2
1
julia> kern2
Reshaped 1d stencil with axes (0:0, 1:3):
-1 0 1
```1 parent 3edc9d3 commit 1bbf666
2 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
36 | 56 | | |
37 | 57 | | |
38 | 58 | | |
| |||
0 commit comments