- 1

why three matrix’s value is same?this is my. code

when i make matrix A2=A1,A3=A1,then initial A1 and A2,the outcome is three matrixes have same value

17th Sep 2017, 7:42 AM
learnlearnlearn
learnlearnlearn - avatar
7 odpowiedzi
+ 11
Pls save your code at the playground and link it here. The code in the tags are impossible to read.
17th Sep 2017, 7:45 AM
Tashi N
Tashi N - avatar
+ 8
Okay, that's much better ;) So do you have any problems with your code? Or do you just wanted to state that the matrices are equal if they point to the same object in memory?
17th Sep 2017, 9:00 AM
Tashi N
Tashi N - avatar
+ 5
@王奇朋友 请把你的问题改写在正确的位置, 如果你写在TAG里头,别人是看不懂你的讯息的。 Please rewrite your question in the correct place, if you put it in the tags, nobody would understand your message.
17th Sep 2017, 8:03 AM
Calviղ
Calviղ - avatar
+ 5
Badge: "Post question with biggest amount of tags" officially granted
17th Sep 2017, 8:37 AM
Illusive Man
Illusive Man - avatar
- 1
please remove this post for the sole sake of humanity
17th Sep 2017, 8:40 AM
sayan chandra
sayan chandra - avatar