From: Robert D. <rob...@gm...> - 2023-09-30 17:22:39
|
On Sat, Sep 30, 2023 at 5:44 AM Eduardo Ochs <edu...@gm...> wrote: > is(equal(op(del(w)), 'del)); > is(equal(op(f(x,y)), 'del)); Maybe you can say something about your larger goal here. If the goal is to process del(something) expressions somehow, there are ways to get Maxima to handle a lot of the details for you, via the pattern matching functions (tellsimp, tellsimpafter, defrule, defmatch). If you find yourself writing code which tests the operator and perhaps the arguments as well to check for different conditions, the code can probably be simplified and extended by using pattern matching functions. best, Robert |