Home Online Manual
Top
Back: grrange
Forward: matrixpres
FastBack:
FastForward:
Up: gradedModules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.14.33 grneg

Procedure from library gradedModules.lib (see gradedModules_lib).

Usage:
grneg(A), graded object A

Return:
graded object

Purpose:
graded map defined by -A

Example:
 
LIB "gradedModules.lib";
ring r=0,(x,y,z),dp;
def A=grobj([x2,yz,xyz],intvec(1,1,0));
grview(A);
==> Graded homomorphism: r(-1)^2 + r <- r(-3), given by a matrix, with degree\
   s: 
==>     .1 ...
==>     -- +..
==>  1 : 2 |.1
==>  1 : 2 |.2
==>  0 : 3 |.3
==>     ==    
==>      3    
def F=grneg(A);
grview(F);
==> Graded homomorphism: r(-1)^2 + r <- r(-3), given by a matrix, with degree\
   s: 
==>     .1 ...
==>     -- +..
==>  1 : 2 |.1
==>  1 : 2 |.2
==>  0 : 3 |.3
==>     ==    
==>      3