Problem with zonotope visualization
Posted: 23 May 2013, 16:21
Hi. This forum is great.
I'm having a problem visualizing a zonotope with jReality, which I define as follows:
This gives a 3-d polytope and every seems to work fine, but when i do $z->VISUAL; it responds
Am I doing something wrong? (I tested VISUAL with the usual examples and it worked properly). Thanks in advance!!
I'm having a problem visualizing a zonotope with jReality, which I define as follows:
Code: Select all
polytope > $zm= new Matrix<Rational>([[0,1,-1,0,0,1,0,-1,0],[0,1,-1,0,0,0,1,0,-1],[0,0,0,1,-1,1,0,-1,0],[0,0,0,1,-1,0,1,0,-1]])
polytope > $zv=zonotope($zm)
polytope > print $zv;
1 2 -2 2 -2 2 2 -2 -2
1 0 0 2 -2 0 2 0 -2
1 0 0 2 -2 2 0 -2 0
1 -2 2 2 -2 0 0 0 0
1 2 -2 0 0 0 2 0 -2
1 0 0 0 0 -2 2 2 -2
1 0 0 0 0 0 0 0 0
1 -2 2 0 0 -2 0 2 0
1 2 -2 0 0 2 0 -2 0
1 0 0 0 0 0 0 0 0
1 0 0 0 0 2 -2 -2 2
1 -2 2 0 0 0 -2 0 2
1 2 -2 -2 2 0 0 0 0
1 0 0 -2 2 -2 0 2 0
1 0 0 -2 2 0 -2 0 2
1 -2 2 -2 2 -2 -2 2 2
polytope > print $z->VERTICES;
polymake: used package cddlib
Implementation of the double description method of Motzkin et al.
Copyright by Komei Fukuda.
http://www.ifor.math.ethz.ch/~fukuda/cdd_home/cdd.html
1 2 -2 2 -2 2 2 -2 -2
1 0 0 2 -2 0 2 0 -2
1 0 0 2 -2 2 0 -2 0
1 -2 2 2 -2 0 0 0 0
1 2 -2 0 0 0 2 0 -2
1 0 0 0 0 -2 2 2 -2
1 -2 2 0 0 -2 0 2 0
1 2 -2 0 0 2 0 -2 0
1 0 0 0 0 2 -2 -2 2
1 -2 2 0 0 0 -2 0 2
1 2 -2 -2 2 0 0 0 0
1 0 0 -2 2 -2 0 2 0
1 0 0 -2 2 0 -2 0 2
1 -2 2 -2 2 -2 -2 2 2
Code: Select all
polymake: ERROR: could not provide all required input properties at input line 1.