Macaulay2 » Documentation
Packages » RandomComplexes :: ZeroMean
next | previous | forward | backward | up | index | toc

ZeroMean -- Option for randomComplex

Description

If ZeroMean=>true then the integer of given Height values are randomly chosen with a zero mean

i1 : randomChainComplex({20,20},{20},ZeroMean=>true)

       40       40
o1 = ZZ   <-- ZZ
               
     0        1

o1 : Complex

Functions with optional argument named ZeroMean:

  • randomChainComplex(...,ZeroMean=>...) -- see randomChainComplex -- random chain complex over the integers with prescribed ranks of the homology group and ranks of the matrices

For the programmer

The object ZeroMean is a symbol.


The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/RandomComplexes.m2:519:0.