inF = inw(F, w)
inI = inw(I, w)
inM = inw(M, w)
This routine computes the initial ideal of a left ideal I of the Weyl algebra with respect to a weight vector w = (u,v) where u+v >= 0. In the case where u+v > 0, then the ideal lives in the associated graded ring which is a commutative ring. In the case where u+v = 0, then the ideal lives in the associated graded ring which is again the Weyl algebra. In the general case u+v >= 0 the associated graded ring is somewhere between. There are two strategies to compute the initial ideal. One is to homogenize to an ideal of the homogeneous Weyl algebra. The other is to homogenize with respect to the weight vector w. For more details, see [SST, Sections 1.1 and 1.2].




The weight vector w = (u,v) must have u+v>=0.
The object inw is a method function.