-
-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #28724: Polyhedron._acted_upon_ should handle left multiplicatio…
…n by matrices, linear transformations {{{ sage: b3 = polytopes.Birkhoff_polytope(3) sage: b3.ambient_dim() 9 sage: proj_mat=matrix([[0,1,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,0,0],[0,0,0,0, 0,1,0,0,0],[0,0,0,0,0,0,0,1,0]]) b3_proj = proj_mat * b3 Traceback (most recent call last) ..... .... sage/geometry/polyhedron/base.pyc in _acted_upon_(self, actor, self_on_left) 3687 return self.translation(actor) 3688 else: -> 3689 return self.dilation(actor) 3690 3691 def __neg__(self): ..... ValueError: V-representation data requires a list of length ambient_dim }}} URL: https://trac.sagemath.org/28724 Reported by: mkoeppe Ticket author(s): Jean-Philippe Labbé, Jonathan Kliem Reviewer(s): Jonathan Kliem, Jean-Philippe Labbé
- Loading branch information
Showing
1 changed file
with
122 additions
and
9 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