| LIB "chern.lib";
ring H = 0, ( r, R, c(1..3), C(1..2) ), dp;
list l=c(1..3);
list L=C(1..2);
// the Chern classes of the tensor product of a vector bundle E of rank 3
// with Chern classes c(1), c(2), c(3)
// and a vector bundle F of rank 2 with Chern classes C(1) and C(2):
print( chProd(3, l, 2, L) );
// the first two Chern classes of the tensor product
// of a vector bundle E of rank r with Chern classes c(1) and c(2)
// and a vector bundle G of rank R with Chern classes C(1) and C(2)
// this gives the Chern classes of a tensor product on a complex surface
l=c(1..2);
L=C(1..2);
print( chProd(r, l, R, L, 2 ) );
|