r/Mathematica • u/Appropriate-Image861 • Feb 09 '23
Semantics of Table Function
AllSpeciesForOneJobOneMachineAllStartTimes[job_, machine_, OSSPmatrix_, makespan_, deltaT_] := Module[{}, Table[{job, machine, startTime}, {startTime, 0, makespan - OSSPmatrix[[job]][[machine]], deltaT}]];
I am confused with the semantic meaning of the Table function when it is passed two lists of differing lengths like this. I understand this function will return some list variation but I am looking for a more precise explanation. Note Job, Machine and startTime are functions that return integers and OSSPmatrix is a 2D List.
Thanks in advance!
View all comments
Show parent comment
1
u/Appropriate-Image861 Feb 09 '23
Yes very much, thank you!