next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
ToricInvariants :: cmVolumes

cmVolumes -- Computes the Chern-Mather volumes of a projective toric variety

Synopsis

Description

This function computes the Chern-Mather volumes of the projective toric variety XA, these are the coefficients of the Chern-Mather class ordered from dimension XA to dimension zero. We do not assume that XA is normal.

i1 : A=matrix{{0, 0, 0, 1, 1,5}, {7,0, 1, 3, 0, -2},{1,1, 1, 1, 1, 1}}

o1 = | 0 0 0 1 1 5  |
     | 7 0 1 3 0 -2 |
     | 1 1 1 1 1 1  |

              3        6
o1 : Matrix ZZ  <--- ZZ
i2 : cmVolumes(A)


o2 = {35, 20, -12}

o2 : List
i3 : A=matrix{{3, 0, 0, 1, 1,2}, {3,5,0,2,1,3},{0, 1, 2, 0, 2,0},{1, 1, 1, 1, 1,1}}

o3 = | 3 0 0 1 1 2 |
     | 3 5 0 2 1 3 |
     | 0 1 2 0 2 0 |
     | 1 1 1 1 1 1 |

              4        6
o3 : Matrix ZZ  <--- ZZ
i4 : cm=cmVolumes(A)


o4 = {28, 31, 23, 20}

o4 : List

Ways to use cmVolumes :