File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ QuasiArrays = "c4ea9172-b204-11e9-377d-29865faadc5c"
12
12
ClassicalOrthogonalPolynomials = " b30e2e7b-c4ee-47da-9d5f-2c5c27239acd"
13
13
InfiniteArrays = " 4858937d-0d70-526a-a4dd-2d5cb5dd786c"
14
14
BandedMatrices = " aae01518-5342-5314-be14-df237901396f"
15
+ ArrayLayouts = " 4c555306-a7a7-4459-81d9-ec55ddd5c99a"
15
16
16
17
[extensions ]
17
18
PTYQoLLinearAlgebraExt = " LinearAlgebra"
@@ -22,6 +23,7 @@ PTYQoLQuasiArraysExt = "QuasiArrays"
22
23
PTYQoLClassicalOrthogonalPolynomialsExt = " ClassicalOrthogonalPolynomials"
23
24
PTYQoLInfiniteArraysExt = " InfiniteArrays"
24
25
PTYQoLBandedMatricesExt = " BandedMatrices"
26
+ PTYQoLArrayLayoutsExt = " ArrayLayouts"
25
27
26
28
[compat ]
27
29
julia = " 1"
Original file line number Diff line number Diff line change
1
+ module PTYQoLArrayLayoutsExt
2
+
3
+ import ArrayLayouts: rowsupport, colsupport
4
+
5
+ rowsupport (A, i:: CartesianIndex{2} ) = rowsupport (A, first (i))
6
+ colsupport (A, i:: CartesianIndex{2} ) = colsupport (A, last (i))
7
+
8
+ end
You can’t perform that action at this time.
0 commit comments