| 1 | initial version |
Hello,
Here is a possible solution. One has to come back in the category of schemes :
rays = [(0,0,1),(1,0,-2),(0,1,-2),(-1,0,-2),(0,-1,-2)]
cones = [(1,2,3,4)]
Delta = Fan(cones,rays)
T = ToricVariety(Delta)
R = T.affine_patch(0).Spec().coordinate_ring()
By the way I also tried cohomology ring : this is not implemented for this toric variety, only for orbifold toric varieties so far.
Cheers,
Matthieu
| 2 | No.2 Revision |
Hello,
Here is a possible solution. One has to come back in the category of schemes :
rays = [(0,0,1),(1,0,-2),(0,1,-2),(-1,0,-2),(0,-1,-2)]
cones = [(1,2,3,4)]
Delta = Fan(cones,rays)
T = ToricVariety(Delta)
R = T.affine_patch(0).Spec().coordinate_ring()
By the way I also tried cohomology ring : this is not implemented for this toric variety, only for orbifold toric varieties so far.
Cheers,
Matthieu
| 3 | No.3 Revision |
Hello,
One has to come back in the category of schemes :
rays = [(0,0,1),(1,0,-2),(0,1,-2),(-1,0,-2),(0,-1,-2)]
cones = [(1,2,3,4)]
Delta = Fan(cones,rays)
T = ToricVariety(Delta)
R = T.affine_patch(0).Spec().coordinate_ring()
By Then, to answer your initial point about retrieving a list of relations :
R.defining_ideal().gens()
(By the way I also tried cohomology ring : this it is not implemented for this toric variety, only for orbifold toric varieties so far.far.)
Matthieu
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.