Folks I am a beginner in Mathematica and have a simple question regarding loops: Here's the problem, I have a dataset of with four columns and I need to loop over each row. So the matrix in which my data is has dimensions of n*4, (n rows).
If there was only one column then the problem is straightforward: I would do something like,
For[i=1;x=0, i < n; i++, x = custF[i];Print[x]]
custF is custom function I built.
The problem is the function I built has four parameters not one. What I need is a loop like
ForEach, which loops over each row and finds values of the function with all 4 parameters. Any help would be deeply appreciated!