-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3617 from JuliaReach/schillic/3419
#3419 - Fast `low`/`high`/`extrema` for polyhedra
- Loading branch information
Showing
13 changed files
with
303 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function extrema(P::VPolygon) | ||
return _extrema_vlist(P) | ||
end | ||
|
||
function extrema(P::VPolygon, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _extrema_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function high(P::VPolygon) | ||
return _high_vlist(P) | ||
end | ||
|
||
function high(P::VPolygon, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _high_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function low(P::VPolygon) | ||
return _low_vlist(P) | ||
end | ||
|
||
function low(P::VPolygon, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _low_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function extrema(P::VPolytope) | ||
return _extrema_vlist(P) | ||
end | ||
|
||
function extrema(P::VPolytope, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _extrema_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function high(P::VPolytope) | ||
return _high_vlist(P) | ||
end | ||
|
||
function high(P::VPolytope, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _high_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function low(P::VPolytope) | ||
return _low_vlist(P) | ||
end | ||
|
||
function low(P::VPolytope, i::Int) | ||
@assert 1 <= i <= dim(P) "invalid index $i for set of dimension $(dim(P))" | ||
return _low_vlist(P, i) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.