next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SchurRings :: scalarProduct(ClassFunction,ClassFunction)

scalarProduct(ClassFunction,ClassFunction) -- Standard scalar product of class functions

Synopsis

Description

Given virtual characters ch1 and ch2, the method computes the standard pairing between ch1 and ch2.

i1 : ch1 = new ClassFunction from {{3,2} => 2, {2,2,1} => -2, {3,1,1} => 2, {5} => 1};
i2 : ch2 = new ClassFunction from {{2,2,1} => -2, {5} => 1, {1,1,1,1,1} => 5, {3,2} => 3, {4,1} => -2};
i3 : scalarProduct(ch1,ch2)

     17
o3 = --
     10

o3 : QQ