Macaulay2 » Documentation
Packages » OldToricVectorBundles :: rank(ToricVectorBundle)
next | previous | forward | backward | up | index | toc

# rank(ToricVectorBundle) -- the rank of the vector bundle

- Function: rank
- Usage:
    `k = rank E`
- Inputs:
  - E, an instance of the type ToricVectorBundle
- Outputs:
  - k, an integer

## Description

Returns the rank $k$ of the toric vector bundle in Kaneyama's description.

    i1 : E = tangentBundle projectiveSpaceFan 3

    o1 = {dimension of the variety => 3 }
          number of affine charts => 4
          number of rays => 4
          rank of the vector bundle => 3

    o1 : ToricVectorBundleKlyachko

    i2 : rank E

    o2 = 3

## See also

- rays(ToricVectorBundle) -- the rays of the underlying fan
- fan(ToricVectorBundle) -- the underlying fan of a toric vector bundle
- charts -- the number of maximal affine charts

## Ways to use this method:

- rank(ToricVectorBundle) -- the rank of the vector bundle

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