Macaulay2 » Documentation
Packages » Schubert2 :: chern(ZZ,AbstractSheaf)
next | previous | forward | backward | up | index | toc

# chern(ZZ,AbstractSheaf) -- compute a Chern class of a sheaf

- Function: chern
- Usage:
    `chern(n,A)`
    `chern_n A`
- Inputs:
  - n, an integer,
  - A, an abstract sheaf,
- Outputs:
  - a ring element, the n-th Chern class of A

## Description

    i1 : base(3, Bundle => (A,2,a), Bundle => (B,3,b))

    o1 = a variety

    o1 : an abstract variety of dimension 3

    i2 : chern_3 B

    o2 = b
          3

    o2 : QQ[a ..a , b ..b ]
             1   2   1   3

    i3 : chern(2,A**B)

           2                  2
    o3 = 3a  + 3a  + 5a b  + b  + 2b
           1     2     1 1    1     2

    o3 : QQ[a ..a , b ..b ]
             1   2   1   3

## See also

- segre(ZZ,AbstractSheaf) -- compute a Segre class of a sheaf

## Ways to use this method:

- chern(ZZ,AbstractSheaf) -- compute a Chern class of a sheaf

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Schubert2.m2:1857:0.