Numerical implementation of a matrix derivative

Click For Summary
SUMMARY

The forum discussion focuses on the numerical implementation of the matrix derivative ∑(ij) ∂ijw, as outlined in the article from PubMed (https://www.ncbi.nlm.nih.gov/pubmed/26248210). The user is working with a 120x120 square matrix w that incorporates periodic boundary conditions. The confusion arises from interpreting the derivative, which is actually related to a scalar field rather than a matrix itself. The user expresses uncertainty about the physical relevance of their results, indicating a need for clarification on the correct implementation of the equation.

PREREQUISITES
  • Understanding of matrix calculus and derivatives
  • Familiarity with scalar fields and their representation in matrix form
  • Knowledge of periodic boundary conditions in numerical simulations
  • Experience with numerical methods for implementing derivatives
NEXT STEPS
  • Research the implementation of matrix derivatives in numerical software such as MATLAB or Python's NumPy
  • Study the concept of scalar fields and their derivatives in computational physics
  • Explore periodic boundary conditions and their effects on numerical simulations
  • Learn about the physical interpretation of derivatives in the context of matrix representations
USEFUL FOR

This discussion is beneficial for students and researchers in computational physics, particularly those working with numerical methods for matrix derivatives and scalar fields. It is also relevant for anyone implementing mathematical models that involve periodic boundary conditions.

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!
 

Similar threads

Replies
0
Views
856
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
0
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K