cleanSupport( D1 )
This function returns a divisor where all entries with coefficient zero are removed.
i1 : R = QQ[x,y,z];
i2 : D = divisor({1,0,-2}, {ideal(x), ideal(y), ideal(z)}) o2 = 0*Div(y) + -2*Div(z) + Div(x) o2 : WeilDivisor on R
i3 : cleanSupport(D) o3 = -2*Div(z) + Div(x) o3 : WeilDivisor on R
The object cleanSupport is a method function.