Top
Back: D.5.4.21 spmilnor
Forward: D.5.4.23 spgamma
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.5.4 gaussman_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.5.4.22 spgeomgenus

Procedure from library gaussman.lib (see gaussman_lib).

Usage:

spgeomgenus(sp); list sp

Return:

int g; geometrical genus of spectrum sp

Example:

 
LIB "gaussman.lib";
ring R=0,(x,y),ds;
list sp=list(ideal(-1/2,-3/10,-1/10,0,1/10,3/10,1/2),intvec(1,2,2,1,2,2,1));
spprint(sp);
→ (-1/2,1),(-3/10,2),(-1/10,2),(0,1),(1/10,2),(3/10,2),(1/2,1)
spgeomgenus(sp);
→ 6

Top Back: D.5.4.21 spmilnor Forward: D.5.4.23 spgamma FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.5.4 gaussman_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.