next | previous | forward | backward | up | top | index | toc | Macaulay2 website
NoetherianOperators :: evaluate(DiffOp,Point)

evaluate(DiffOp,Point) -- evaluate coefficients of a differential operator

Synopsis

Description

Evaluates a differential operator at a point. This can be used to obtain a set of specialized Noetherian operators.

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

o2 = x*dx + y*dy

o2 : DiffOp
i3 : evaluate(D, point{{1,2}})

o3 = dx + 2*dy

o3 : DiffOp

The method supports interpolated differential operators as well, assuming that the denominator does not vanish. The resulting operator is a DiffOp, not an InterpolatedDiffOp.

i4 : E = new InterpolatedDiffOp from {x => (x, x^2 + y^2)}

        x
o4 = -------*dx
      2    2
     x  + y

o4 : InterpolatedDiffOp
i5 : evaluate(E, point{{1,2}})

     1
o5 = -*dx
     5

o5 : DiffOp