This shouldn't matter except for very large matrices/arrays, but if we have a matrix stored column major, we would want the looping in the declaration functions to loop over the rows in the inner loop.
If one writes a model like this:
for(i in 1:n)
for(j in 1:m)
y[i,j] ~ dfoo()
then the looping at the moment will be over columns in the inner loop.
This is presumably a minor efficiency issue, and we should not focus on it now.
This shouldn't matter except for very large matrices/arrays, but if we have a matrix stored column major, we would want the looping in the declaration functions to loop over the rows in the inner loop.
If one writes a model like this:
then the looping at the moment will be over columns in the inner loop.
This is presumably a minor efficiency issue, and we should not focus on it now.