getPrimeCount( D1 )This function returns the number of height one prime ideals corresponding to the components of a BasicDivisor. Note that if you don't call cleanSupport, this can return primes with coefficient equal to zero.
|
|
|
|
|
|
|
|
|
This is equivalent to #primes.
The object getPrimeCount is a method function.
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/WeilDivisors.m2:2273:0.