> q := x^(1/2):

> type(q, `^`);
                                     true
> op(0,q);
                                       ^

> subsindets(q, `^`, f->subsop(0=H,f));
Error, (in unknown) improper op or subscript selector

What's wrong with that last one? It's modelled on the first Example in the ?subsindets help-page.

Are there cases where the following would not be a good enough workaround?

> subsindets(q, `^`, f->H(op(f)));
                                   H(x, 1/2)

The same thing seems to happen for `*` and `+`. But this infix neutral operator seems ok,

> z := s &* P;
                                  z := s &* P

> subsindets(z, specfunc(anything,`&*`), f->subsop(0=H,f));
                                    H(s, P)

acer


Please Wait...