Macaulay2 » Documentation
Packages » OIGroebnerBases > getRank
next | previous | forward | backward | up | index | toc

getRank -- get the rank of a free OI-module

Synopsis

Description

Returns the rank of a free OI-module. Recall that the rank of a free OI-module $\bigoplus_{i=1}^s\mathbf{F}^{\text{OI}, d_i}$ is defined to be $s$.

i1 : P = makePolynomialOIAlgebra(2, x, QQ);
i2 : F = makeFreeOIModule(e, {1,1,2}, P);
i3 : getRank F

o3 = 3

Ways to use getRank :

For the programmer

The object getRank is a method function.