Question: question on assignment

Dear All,

 

I have a simple question: having a Matrix A, how to make a copy of this matrix called B, which modifications do not influence the values of Matrix A.

 

Simple example:

> 

(1)
> 

B := A;

(2)
> 

B[1, 1] := 2;

(3)
> 

(4)
> 

(5)



Download questionOnAssignmen.mw

BR,

Zoltan Faigl

Please Wait...