- array-assign! destination sourceprocedure
Assumes that destination is a mutable array and source is an array, and that the elements of source can be stored into destination.
The array destination must be compatible with source, in the sense that either destination and source have the same domain, or destination is a specialized array whose elements are stored adjacently and in order in its body and whose domain has the same volume as the domain of source.
Evaluates (array-getter source) on the multi-indices in (array-domain source) in lexicographical order, and assigns each value to the multi-index in destination in the same lexicographical order.
It is an error if the arguments don't satisfy these assumptions.
If assigning any element of destination affects the value of any element of source, then the result is undefined.
Note: If the domains of destination and source are not the same, one can think of destination as a reshaped copy of source.