MHB Notation for Element-Wise Matrix Operations

Click For Summary
There is no universally accepted notation for element-wise matrix operations, but using indices is a common approach. For example, element-wise exponentiation can be represented as A_{ij}^{B_{ij}} for matrices A and B of the same dimensions. In MATLAB and similar software, a period prefix is used to denote element-wise operations, such as .* for multiplication. This notation helps clarify the distinction between standard and element-wise operations in programming contexts. Understanding these conventions can enhance clarity in mathematical and computational discussions.
OhMyMarkov
Messages
81
Reaction score
0
Hello everyone!

Is there a conventional notation for some common arithmetic operations, like element-wise product, or element-wise power?

Thanks!
 
Physics news on Phys.org
Re: Notation for Eelement-Wise Matrix Operation

I would probably just refer to indices. So if you have a matrix $A$, the $i,j$ element is $A_{ij}$. If you have another matrix $B$ of the same dimensions, then you could do element-wise exponentiation like this:

$$A_{ij}^{B_{ij}}.$$

Also note that in the MATLAB software and various clones, you can use a period prefix to indicate element-wise arithmetic, like .* for element-wise multiplication.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K