1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Numerical implementation of a matrix derivative

  1. Dec 1, 2016 #1
    1. The problem statement, all variables and given/known data
    Hi all!

    I'm having trouble understanding the implementation of some derivatives in the expression (1) of this article:

    How do I implement ∑(ij)ijw ?

    Thank you all in advance.
    2. Relevant equations
    w is a square matrix(120x120) with periodic boundary conditions.

    3. The attempt at a solution
    I understood it as the second derivative of the matrix w, but it doesn't seem to be correct.
  2. jcsd
  3. Dec 1, 2016 #2


    User Avatar

    Staff: Mentor

    It is not exactly the derivative of a matrix, but of a scalar field, which computationally is represented as a matrix.

    Why do you say this is not correct?
  4. Dec 1, 2016 #3
    Because the obtained results don't have any physical meaning considering the problem, so I'm not sure that the implementation is correct.
    How would you implement that equation ?

    Thank you very much for your attention!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted