Using copy() for matrices still returns error
I want to take the zero matrix and assign entries to make a new matrix. I understand that the zero matrix is immutable and I need to make a copy, but copy() isn't working. Here is what I put in:
A = copy(matrix(3,3,0)) A=1
and the error says vector is immutable; please change a copy instead (use copy())
What am I doing wrong?