|
D.5.5.7 MacdonaldF
Procedure from library goettsche.lib (see goettsche_lib).
- Usage:
- MacdonaldF(z, t, n, b); z, t polynomials, n integer, b list of non-negative integers
- Return:
- polynomial in z and t with integer coefficients
- Purpose:
- computes the Macdonalds's formula up to degree n in t
- Note:
- zero is returned if n<0 or b is not a list of non-negative integers
Example:
| LIB "goettsche.lib";
ring r=0, (t, z), ls;
// consider the projective plane with Betti numbers 1,0,1,0,1
list b=1,0,1,0,1;
// get the Macdonald's formula up to degree 3
print( MacdonaldF(z, t, 3, b) );
==> 1+t+tz2+tz4+t2+t2z2+2t2z4+t2z6+t2z8+t3+t3z2+2t3z4+2t3z6+2t3z8+t3z10+t3z12
|
|