Macaulay2 » Documentation
Packages » ExteriorExtensions » ExteriorExtension » findGrade
next | previous | forward | backward | up | index | toc

# findGrade -- Find which graded piece of the algebra an element is in

## Description

Let's build a 7-graded algebra and find the grade for several elements

    i1 : extensionAlg = exteriorExtension(3, 7);

    i2 : E = extensionAlg.appendage;

    i3 : extensionAlg.findGrade (E_0*E_1)

    o3 = 3

    i4 : extensionAlg.findGrade (E_0*E_1*E_2*E_3)

    o4 = 6

## For the programmer

The object findGrade is a symbol.

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