Macaulay2 » Documentation
Packages » Divisor :: CoefficientType
next | previous | forward | backward | up | index | toc

CoefficientType -- an option used to tell divisor construction that a particular type of coefficients are expected.

Description

Can be set to ZZ, QQ or RR (or any other Thing) when divisor is called, it checks whether the coefficient list is a list of instances of this type. If it is set to ZZ, QQ or RR then a WeilDivisor, QWeilDivisor or RWeilDivisor are created. Default value is ZZ.

Functions with optional argument named CoefficientType :

For the programmer

The object CoefficientType is a symbol.