next | previous | forward | backward | up | top | index | toc | Macaulay2 website
NoetherianOperators :: DiffOp - DiffOp

DiffOp - DiffOp -- subtraction of differential operators

Synopsis

Description

Subtracts two differential operators. The ring of both operators must match

i1 : R = QQ[x,y];
i2 : D = diffOp{x => x^2+ y}

       2
o2 = (x  + y)dx

o2 : DiffOp
i3 : E = diffOp{x => -y, x^2*y^2 => 2}

         2  2
o3 = 2*dx dy  - y*dx

o3 : DiffOp
i4 : D - E

           2  2     2
o4 = - 2*dx dy  + (x  + 2y)dx

o4 : DiffOp