Macaulay2 » Documentation
Packages » CoincidentRootLoci :: random(CoincidentRootLocus)
next | previous | forward | backward | up | index | toc

random(CoincidentRootLocus) -- get a random element

Synopsis

Description

i1 : X = coincidentRootLocus {3,3,2}

o1 = CRL(3,3,2)

o1 : Coincident root locus
i2 : F = random X

        8        7           6 2          5 3           4 4            3 5  
o2 = 72t  - 3108t t  + 56018t t  - 546831t t  + 3136401t t  - 10714113t t  +
        0        0 1         0 1          0 1           0 1            0 1  
     ------------------------------------------------------------------------
              2 6              7           8
     21001761t t  - 21257640t t  + 8503056t
              0 1            0 1           1

o2 : QQ[t ..t ]
         0   1
i3 : member(F,X)

o3 = true
i4 : factor F

               3           3           2
o4 = (t  - 9t ) (2t  - 9t ) (3t  - 4t )
       0     1     0     1     0     1

o4 : Expression of class Product

See also

Ways to use this method: