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

random(CoincidentRootLocus) -- get a random element

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  
o2 = 27783t  - 264159t t  + 1047151t t  - 2246037t t  + 2833158t t  -
           0          0 1           0 1           0 1           0 1  
     ------------------------------------------------------------------------
             3 5          2 6            7         8
     2140856t t  + 943776t t  - 222480t t  + 21600t
             0 1          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  - 2t ) (7t  - 3t ) (9t  - 10t )
       0     1     0     1     0      1

o4 : Expression of class Product

See also

Ways to use this method:


The source of this document is in CoincidentRootLoci/documentation.m2:145:0.