Hello, I'm trying to apply a function to all of the elements of a 2D matrix. The catch is that the some of the function inputs are other elements of the matrix. In other words, the function to calculate the element in row 3, column 4 uses the values in row 2, columns 3 - 5.
This is easy to do with procedural programming (loops), but I'm trying to do it using functional programming techniques.
Thanks, Tony