|
D.13.2.36 isVeryAmple
Procedure from library polymake.lib (see polymake_lib).
- Usage:
- isVeryAmple(p); p polytope
- Return:
- 1, if p is very ample; 0 otherwise
Example:
| LIB "polymake.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
intmat M[3][3]=
1,1,0,
1,0,1,
1,-1,-1;
polytope p = polytopeViaPoints(M);
isVeryAmple(p);
==> polymake: used package ppl
==> The Parma Polyhedra Library (PPL): A C++ library for convex polyhedra
==> and other numerical abstractions.
==> http://www.cs.unipr.it/ppl/
==>
==> polymake: used package 4ti2
==> 4ti2 -- A software package for algebraic, geometric and combinatorial p\
roblems on linear spaces.
==> Copyright by 4ti2 team.
==> http://www.4ti2.de/
==>
==> 1
intmat N[3][4]=
1,1,0,0,
1,0,1,0,
1,1,1,2;
polytope q = polytopeViaPoints(N);
isVeryAmple(q);
==> 1
|
|