News for hackers. Stuff that matters.
Re:Poisson's Equation by burnished on Tuesday July 06, 2021 @11:47AM (#27750088)
Can you link to context for this? I learned both in linear algebra, so it seems like either would be just as 'expected'.
Re:Poisson's Equation by mixedmath on Tuesday July 06, 2021 @12:12PM (#27750462)
Here's a concrete example. The first matrix in the post is f = [[1, 1, 1], [1, 1, 1], [1, 1, 1]].

In linear algebra, we would interpret this as a linear map. A true equation would be f([1, 2, 3]^T) = [6, 6, 6]^T (where I'm using ^T to mean "transpose to a column vector").

But here, the author means f(1, 2) = 1, i.e. the (1,2) coordinate of the matrix is 1.

Re:Poisson's Equation by burnished on Tuesday July 06, 2021 @12:40PM (#27750915)
Thank you! Yes, I agree, thank you for explaining that to me.
Re:Poisson's Equation by wildmanx on Tuesday July 06, 2021 @01:05PM (#27751327)
And interestingly, both are connected. If d_i somewhat hand-wavingly expresses the vector d_i = (0, ..., 0, 1, 0, ... 0) with the 1 at position i, then given matrix M you can do

f(i, j) := d_i^T * M * d_j

The RHS is using classical matrix multiplication, and the function value will be the matrix' entry at column i, row j.