Differentiation question



> 
> Does 'diff(v,v[r]) solve your problem?  What is the larger problem you
> are trying to solve?
> 
Actually, I have a set of equations for unknown functions like f(v,u), 
where v=(v[1],v[2],...,v[m])
is a vector of complex or real variables and u in {1,2,...,n}. I have to 
take first and second order partial derivatives for the equations with 
respect of v[r] and v[s] for different r and s. In fact, the problem is 
solvable with paper and pencil, but it must be a huge piece of paper and 
there's still a possibility of mistakes while rewriting expressions... I 
wanted to automate the derivation. Alas!
--
Andrei Zorine