Home Online Manual
Top
Back: isTerminal
Forward: latticeCodegree
FastBack: gfanlib_so
FastForward: Release Notes
Up: polymake_so
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.16.2.22 isVeryAmple

Syntax:
Polymake::isVeryAmple( polytope p )
Type:
int
Purpose:
1 if p is very ample, 0 otherwise.
Example:
 
  LIB"polymake.lib";
==> Welcome to polymake
==> Copyright (c) 1997-2012
==> 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);
  Polymake::isVeryAmple(p);
==> 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
==> 
==> polymake: used package lrslib
==>   Implementation of the reverse search algorithm of Avis and Fukuda.
==>   Copyright by David Avis.
==>   http://cgm.cs.mcgill.ca/~avis/lrs.html
==> 
==> 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 p = polytopeViaPoints(N);
==> // ** redefining p **
  Polymake::isVeryAmple(p);
==> 1