#include "kernel/mod2.h"
#include "Singular/ipid.h"
#include "gfanlib/gfanlib.h"
Go to the source code of this file.
◆ bbpolytope_setup()
Definition at line 549 of file bbpolytope.cc.
550{
551 blackbox *
b=(blackbox*)
omAlloc0(
sizeof(blackbox));
552
553
554
557
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
585
586}
BOOLEAN polytopeViaVertices(leftv res, leftv args)
void bbpolytope_destroy(blackbox *, void *d)
char * bbpolytope_String(blackbox *, void *d)
BOOLEAN polytopeViaNormals(leftv res, leftv args)
BOOLEAN dualPolytope(leftv res, leftv args)
BOOLEAN scalePolytope(leftv res, leftv args)
void * bbpolytope_Init(blackbox *)
BOOLEAN bbpolytope_Assign(leftv l, leftv r)
BOOLEAN mixedVolume(leftv res, leftv args)
gfan::ZCone newtonPolytope(poly p, ring r)
BOOLEAN vertices(leftv res, leftv args)
void * bbpolytope_Copy(blackbox *, void *d)
int setBlackboxStuff(blackbox *bb, const char *n)
define a new type
◆ getAmbientDimension()
int getAmbientDimension |
( |
gfan::ZCone * |
zc | ) |
|
Definition at line 386 of file bbpolytope.cc.
387{
388 return zc->ambientDimension()-1;
389}
◆ getCodimension()
int getCodimension |
( |
gfan::ZCone * |
zc | ) |
|
Definition at line 391 of file bbpolytope.cc.
392{
393 return zc->codimension();
394}
◆ getDimension()
int getDimension |
( |
gfan::ZCone * |
zc | ) |
|
Definition at line 396 of file bbpolytope.cc.
397{
398 return zc->dimension()-1;
399}
◆ getFacetNormals()
bigintmat * getFacetNormals |
( |
gfan::ZCone * |
zc | ) |
|
◆ intStar2ZVectorWithLeadingOne()
gfan::ZVector intStar2ZVectorWithLeadingOne |
( |
const int |
d, |
|
|
const int * |
i |
|
) |
| |
Definition at line 401 of file bbpolytope.cc.
402{
403 gfan::ZVector zv(d+1);
404 zv[0]=1;
405 for(
int j=1;
j<=d;
j++)
406 {
408 }
409 return zv;
410}
◆ polytopeID