Compute the inverse affine map of the Polyhedron.
Q = P.invAffineMap(T)
Q = P.invAffineMap(T, t)
P |
Polyhedron in any format. Class: Polyhedron |
T |
Transformation matrix. Class: double |
t |
Transformation vector. Class: double |
Q |
Polyhedron representing the affine map in H-representation. Class: Polyhedron |
P = Polyhedron('lb', [-1; -1], 'ub', [1; 1]);Inverse affine map with the matrix [1 1; 0 1]
Q = P.invAffineMap([1 1; 0 1])
Polyhedron in R^2 with representations: H-rep (redundant) : Inequalities 4 | Equalities 0 V-rep : Unknown (call computeVRep() to compute) Functions : nonePlot P and Q.
plot([P, Q]);
◀ | mpt | distance | ▶ |
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk