Numerical implementation of a matrix derivative

AI Thread Summary
The discussion centers on the implementation of a specific derivative from a scientific article related to a square matrix with periodic boundary conditions. The user is struggling to understand how to compute the derivative ∑(ij) ∂ijw, initially interpreting it as the second derivative of the matrix w. However, they later clarify that it represents the derivative of a scalar field represented as a matrix, leading to confusion about the physical significance of their results. The user seeks guidance on the correct implementation of this equation, emphasizing the need for clarity in the computational approach. Overall, the conversation highlights the complexities involved in numerical derivatives of matrices in scientific computations.
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 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!
 
Back
Top