Re: [sympy] Derivatives with respect to vectors and matrices expressed as vector and matrix operations

2017-01-11 Thread Alan Bromborsky
Your example is taking the gradient of a scalar function |x2-x1| and getting a vector function. See - https://en.wikipedia.org/wiki/Gradient My geometric algebra package - https://github.com/brombo/galgebra can take the gradient (vector derivative) of a multivector function of which scalars an

[sympy] Derivatives with respect to vectors and matrices expressed as vector and matrix operations

2017-01-05 Thread Kevin Houlihan
Does SymPy have any builtin functionality for expressive derivatives w.r.t. vectors and matrices as vector and matrix operations? By "derivative w.r.t. a vector" I mean a vector of derivatives w.r.t. each element. The reason for treating these derivatives differently that just a vector of deriv