-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#193 #217
#193 #217
Conversation
Looks good so far. Let us use only one out of "polyhedra/polytopes". |
ready to go if u approve -- i plan to work further on VPolytope and HPolytope as outlined in #155 |
src/VPolytope.jl
Outdated
# constructor for a VPolytope with empty vertices list | ||
VPolytope{N}() where {N<:Real} = VPolytope{N}(Vector{N}(0)) | ||
|
||
# constructor for a VPolytope with no constraints of type Float64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"constraints" → "vertices"
src/VPolytope.jl
Outdated
""" | ||
cartesian_product(P1::VPolytope, P2::VPolytope; [backend]=CDDLib.CDDLibrary()) | ||
|
||
Compute the Cartesian product of two polytopes in V-representaion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"representation"
src/VPolytope.jl
Outdated
|
||
### Output | ||
|
||
The `VPolytope` obtained by the concrete cartesian product of `P1` and `P2`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Cartesian"
thanks for the review 👍 |
There is also a doctest failing: The subtypes of |
ouch, too late. i'll fix it now |
Closes #193.