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"
1212ClassicalOrthogonalPolynomials = " b30e2e7b-c4ee-47da-9d5f-2c5c27239acd"
1313InfiniteArrays = " 4858937d-0d70-526a-a4dd-2d5cb5dd786c"
1414BandedMatrices = " aae01518-5342-5314-be14-df237901396f"
15+ ArrayLayouts = " 4c555306-a7a7-4459-81d9-ec55ddd5c99a"
1516
1617[extensions ]
1718PTYQoLLinearAlgebraExt = " LinearAlgebra"
@@ -22,6 +23,7 @@ PTYQoLQuasiArraysExt = "QuasiArrays"
2223PTYQoLClassicalOrthogonalPolynomialsExt = " ClassicalOrthogonalPolynomials"
2324PTYQoLInfiniteArraysExt = " InfiniteArrays"
2425PTYQoLBandedMatricesExt = " BandedMatrices"
26+ PTYQoLArrayLayoutsExt = " ArrayLayouts"
2527
2628[compat ]
2729julia = " 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