Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: CountPure
next | previous | forward | backward | up | index | toc

# CountPure -- optional input to show the number of objects in the list whose Betti tables are pure

## Description

Putting the option CountPure => true in function bettiStats adds the number of pure Betti tables to the Betti table statistics. In the following example, exactly one of the ideals has a pure Betti table:

    i1 : ZZ/101[a..c];

    i2 : L={monomialIdeal"ab,bc", monomialIdeal"ab,bc3"}

                                                           3
    o2 = {monomialIdeal (a*b, b*c), monomialIdeal (a*b, b*c )}

    o2 : List

    i3 : (meanShape,meanBetti,stdevBetti,pure) = bettiStats (L,CountPure=>true);

    i4 : pure

    o4 = 1

## See also

- bettiStats -- statistics on Betti tables of a sample of monomial ideals or list of objects
- SaveBettis -- optional input to store all Betti tables computed
- Verbose -- an optional argument
- IncludeZeroIdeals -- optional input to choose whether zero ideals should be included

## Functions with optional argument named CountPure:

- `bettiStats(...,CountPure=>...)`

## For the programmer

The object CountPure is a symbol.

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