> I just tried the following:
> f(v):=v;
> depends(f,arraymake(v,[1]));
> diff(f,arraymake(v,[1]));
> and got
> df
> (D3) ---
> dv
> 1
> What were you expecting?
> Do you have a simple example?
> Dan
>
I think this work OK for me. I tried depends(calM,v[r]) and then
diff(calM(v,s),v[r]) gives what I want. Thanks.
It looks like depends() associates the rule with the header of an
expression and pays non attension to the arity? Can this fact be
mentioned/explained in the manual?
--
Andrei Zorine