Numerical implementation of a matrix derivative

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
Sophia Clark
Messages
2
Reaction score
0

Homework Statement


Hi all!

I'm having trouble understanding the implementation of some derivatives in the expression (1) of this article:
https://www.ncbi.nlm.nih.gov/pubmed/26248210

How do I implement ∑(ij)ijw ?

Thank you all in advance.

Homework Equations


w is a square matrix(120x120) with periodic boundary conditions.

The Attempt at a Solution


I understood it as the second derivative of the matrix w, but it doesn't seem to be correct.
 
Physics news on Phys.org
Sophia Clark said:
I understood it as the second derivative of the matrix w, but it doesn't seem to be correct.
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?
 
  • Like
Likes   Reactions: Sophia Clark
DrClaude said:
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?
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!