next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
RandomComplexes :: randomSimplicialComplex

randomSimplicialComplex

Synopsis

Description

We compute the simplicial complex associated to a square free monomial ideal in k+1 variables whose n generators we choose randomly among the square free monomials.

i1 : setRandomSeed "nice example 2";
i2 : C=randomSimplicialComplex(7,20)

       8       24       34       21       3
o2 = ZZ  <-- ZZ   <-- ZZ   <-- ZZ   <-- ZZ
                                         
     0       1        2        3        4

o2 : ChainComplex
i3 : prune HH C

           1
o3 = 0 : ZZ

     1 : 0  

     2 : 0  

           1
     3 : ZZ

     4 : 0  

o3 : GradedModule

See also

Ways to use randomSimplicialComplex :