MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Matrix Differentiation

  • To: mathgroup at
  • Subject: [mg85907] Re: Matrix Differentiation
  • From: sikokaj at
  • Date: Wed, 27 Feb 2008 04:29:18 -0500 (EST)
  • References: <fq0uav$kab$>

This seems to work for me. I defined a simple test matrix:

M = Table[x^i y^j z^(i + j) v^(i - j), {i, 1, 4}, {j, 1, 4}]

and then did

 D[#, x, y, z, v] & /@ M

Kajetan Sikorski

mark wrote:
> Hi all,
> I need to differentiate a 4x4 matrix M with respect to four variables
> x1,x2,x3 and x4.
> I have tried to use the function D as follows:
> D[M,{{x1,x2,x3,x4}}]
> what I get is a 4x4 matrix and each term in this matrix is a vector.
> Am I right when I used this function or there is another function to
> do so?
> Thanks

  • Prev by Date: Re: Another question on Assuming
  • Next by Date: Export Data from Mathematica to Excel
  • Previous by thread: Matrix Differentiation
  • Next by thread: Re: Matrix Differentiation