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

Discrete -- Value for the Strategy in disturb

Description

If Strategy=>Continuous then we disturb the complex by floating point numbers otherwise by discrete values.

i1 : C = randomChainComplex({1,1,1},{2,2})

       3       5       3
o1 = ZZ  <-- ZZ  <-- ZZ
                      
     0       1       2

o1 : Complex
i2 : CR = C**RR_53

         3         5         3
o2 = RR    <-- RR    <-- RR
       53        53        53
                          
     0         1         2

o2 : Complex
i3 : disturb(CR,1e-4)

         3         5         3
o3 = RR    <-- RR    <-- RR
       53        53        53
                          
     0         1         2

o3 : Complex
i4 : disturb(CR,1e-4,Strategy => Continuous)

         3         5         3
o4 = RR    <-- RR    <-- RR
       53        53        53
                          
     0         1         2

o4 : Complex

See also

For the programmer

The object Discrete is a symbol.


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