Home Online Manual
Top
Back: CSMA
Forward: EulerProj
FastBack:
FastForward:
Up: chern_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.4.60 EulerAff

Procedure from library chern.lib (see chern_lib).

Usage:
EulerAff(I); I an ideal

Return:
integer

Purpose:
computes the Euler characteristic of the affine variety defined by I

Note:

Example:
 
LIB "chern.lib";
ring r = 0, (x, y), dp;
// compute the Euler characteristic of the affine ellipric curve y^2=x^3+x+1;
ideal I=y2-x3-x-1;
EulerAff(I);
==> 3