On Jun 12, 2010, at 19:07 , William Stein wrote:

On Saturday, June 12, 2010, Justin C. Walker <[email protected]> wrote:

On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
[snip]
Shouldn't the value of v remain the same? Why does the change in u
(or, a row of u) affect v?
[snip]
For, e.g., integers, "u=v" means that the names u,v both refer to their own copies of the value in question.


Are you sure??? I think you statement that u is a new copy is wrong. I bet

 u is v

would still return true above.

Picky picky picky. I was hoping to avoid a trip into the twisty maze of passages in language definition (all of which are subtly different :-}). But you are correct. "u is v" does return true and the two actually refer to the same (physical) value. And, if one variable is modified, this doesn't modify the other, or the value that both previously referred to.

  I can't check this now, since am on iPhone....

I find that hard to believe. I thought you had Sage running on all things digital...

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------



--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to