If I use span to assign a value to every element in a "column", it miraculously works:
arrayExample = {
{a, b, c},
{a, b, c},
{a, b, c},
{a, b, c}};
arrayExample[[;; , 3]] = d;
arrayExample
out[...]={{a, b, d}, {a, b, d}, {a, b, d}, {a, b, d}}
The third column entries all became d! Wonderful.
Then I tried to do it to an indexed variable and I got a set::setps error that the indexed variable was not a variable:
indexedArrayExample[1] = {
{a, b, c},
{a, b, c},
{a, b, c},
{a, b, c}};
indexedArrayExample[1][[;; , 3]] = d;
...Set::setps: indexedArrayExample[1] in the part assignment is not a symbol.
This is not urgent because the workaround it simple. [Assign the value of the indexed variable to an unindexed one (temp=indexed...[1]), do the column assignment to temp and then assign it back to the indexed (indexed...[1]=temp). But that is not pretty.]
It seems that my question has to do with downvalues but I cannot figure how to make this work. I have gotten as far as understanding that temp has an ownvalue and that it why it can receive the assignment whereas an indexed variable has a downvalue but I do not understand how to assign "through" the indexed variable to its downvalues. The meta-question is what in the documentation would have answered my question?