Top
Back: getDimension
Forward: getEquations
FastBack: quickConeViaNormals
FastForward: fan
Up: cone related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.22.4.9 getDualCone

Syntax:
getDualCone( cone c )
Type:
cone
Purpose:
the dual of the cone
Example:
 
intmat M1[2][2]=
1,0,
0,1;
cone c1=coneViaRays(M1);
cone d1=getDualCone(c1);
d1;
==> AMBIENT_DIM
==> 2
==> INEQUALITIES
==> 0,1,
==> 1,0
==> EQUATIONS
==> 
print(getRays(d1));
==>      1     0
==>      0     1
intmat M2[2][2]=
1,1,
0,1;
cone c2=coneViaRays(M2);
cone d2=getDualCone(c2);
d2;
==> AMBIENT_DIM
==> 2
==> INEQUALITIES
==> 0,1,
==> 1,1
==> EQUATIONS
==> 
print(getRays(d2));
==>      1     0
==>     -1     1

Top Back: getDimension Forward: getEquations FastBack: quickConeViaNormals FastForward: fan Up: cone related functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-4, Jan 2012, generated by texi2html.