| LIB "chern.lib";
// The Schur polynomial corresponding to the partition 1,2,4
// and the Chern classes c(1), c(2), c(3)
ring r=0,(c(1..3)), dp;
list I=1,2,4;
list C=c(1..3);
print( SchurCh(I, C) );
==> c(1)^2*c(2)*c(3)-c(2)^2*c(3)-c(1)*c(3)^2
// Compare this with the Schur polynomial computed using Segre classes
list S=segre( chDual( list(c(1..3)) ), 6 );
print(SchurS(I,S));
==> c(1)^2*c(2)*c(3)-c(2)^2*c(3)-c(1)*c(3)^2
|