unnecessary change

Giorgi Lekishvili gleki at gol.ge
Tue Oct 23 14:54:23 EDT 2001


Hi folks!

My problem is the following:
I want to save initial data matrix, as e.g., follows
    self.Mdata=Matr
In the same time I need a matrix, which is used and processed. The
latter is created as follows
    self.Mactual=self.Mdata

No the problem is, that, when I have finished to use the Mactual matrix,
self.Mdata is always changed and equals the final Mactual matrix.

What is the systematic solution of the problem?

Thanx in advance,
Giorgi

PS. I use Numeric module.




More information about the Python-list mailing list