-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Polyhedron._acted_upon_ should handle left multiplication by matrices, linear transformations #28724
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Agreed, that would be nice to add this in the coercion. |
comment:3
Are you on it? I could come up with something. |
Author: Jean-Philippe Labbé |
comment:4
Here's a first version. I wanted to have a New commits:
|
Commit: |
Branch: public/28724 |
comment:5
What happens when the linear transformation moves the polyhedron outside of the fields the backend can handle? Can you add such a doctest? |
comment:6
Can you just initialize the new parent like this?
This should automatically keep the backend if possible, but change it, if not possible. |
comment:7
This does not work, when the matrix consists of floats. Please apply the change I suggested, which fixes this, and add a doctest with floats. However, this still does not work with sqrt5 for example, even with backend This is because coercion of parents does not work in this case. I'm trying to figure out what's going on there. |
comment:8
I added #28770 as a dependency, because it would be nice to have doctest with a square root of something or so. If you think this is unnecessary, feel free to remove it again. |
Dependencies: #28770 |
comment:9
Three more things.
|
Changed branch from public/28724 to public/28724-reb |
comment:11
Ticket retargeted after milestone closed |
comment:12
One probably should not return anything, if self is on left. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from public/28724-reb to public/28724-reb2 |
Reviewer: Jonathan Kliem, Jean-Philippe Labbé |
Changed author from Jean-Philippe Labbé to Jean-Philippe Labbé, Jonathan Kliem |
comment:16
Bots are pretty much green. Some pyflakes warning, which I fixed in #28880 already (which is green botwise). |
comment:17
Looks good to me. |
Changed branch from public/28724-reb2 to |
Depends on #28770
CC: @jplab @jiawei-wang-ucd
Component: geometry
Keywords: polytopes
Author: Jean-Philippe Labbé, Jonathan Kliem
Branch/Commit:
a1072ee
Reviewer: Jonathan Kliem, Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/28724
The text was updated successfully, but these errors were encountered: