Question: Symbolic Vector Manipulation

I would like to do something like a derivative with respect to a vector or really anything involving a vector (not of a known length or known values) going in and a vector coming out:


diff( Transpose(x) * A * x, x)

Is this possible?


It's just that it is very different if you do x*(x+1) if x is a vector or if x is a scalar.  Does this make sense?

Any tips would be great!



Please Wait...