I'm trying to assign as follows (without using copyarray):
where i,j and k are integers, array1 and array2 are declared as double, and array2
contains values different from 0.
Somehow array1 remains 0 after the assignment.
Where did I go wrong?