for {k = 1 to 2} , evaluate {y[[k]] = x[[k,1]]+x[[k,2]]-1.5} where {x = {{0, 0},{0, 1}}
Trying to get WA to loop through evaluation of this simple y function which is 2D in x. This is just a test for a more complex evaluation. I need to use matrix notations so I can enter it all in on one line and then get all the results at once. I am not willing to split this up in to multiple qeuries since it would take ten times longer to enter data and record results piecemeal (and there are more than a few data points to enter).
The first loop should be y1 = x(1,1) + x(1,2) + 0 = 0 + 0 + 1.5 = 1.5
etc.
Any help out there? Andrew