Macaulay2 » Documentation
Packages » SparseResultants :: char(SparseDiscriminant)
next | previous | forward | backward | up | index | toc

char(SparseDiscriminant) -- get the characteristic

Synopsis

Description

i1 : D = denseDiscriminant(2,2,CoefficientRing=>ZZ/331);

o1 : SparseDiscriminant (sparse discriminant associated to | 0 0 0 1 1 2 | over ZZ/331)
                                                           | 0 1 2 0 1 0 |
i2 : char D

o2 = 331
i3 : char denseDiscriminant(2,2)

o3 = 0

Ways to use this method: