Commit 06a5cd1
authored
After this,
```julia
julia> B = reshape([1:9;], 3, 3)
3×3 Matrix{Int64}:
1 4 7
2 5 8
3 6 9
julia> diagview(B', 1)
2-element view(::Vector{Int64}, 2:4:6) with eltype Int64:
2
6
```
The view directly indexes into the parent, and the `adjoint` layer is
removed. This also makes the view linearly indexed.
1 parent b1f9cb3 commit 06a5cd1
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
790 | 801 | | |
0 commit comments