On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
Please tell me if this is a bug, or, I'm missing something obvious...
sage: a = 3 # Assign a value to a variable a
sage: b = a # Create a copy of a
You're not really copying a, you're just making 'b' refer to the same
thing that 'a' does,
Computer Science
Baldwin Senior High School Nassau Community College
-Original Message-
From: William Stein wst...@gmail.com
To: sage-support@googlegroups.com sage-support@googlegroups.com
Sent: Sat, Jun 12, 2010 11:55 pm
Subject: Sage on iPhone - Re: [sage-support] strange behavior
Please tell me if this is a bug, or, I'm missing something obvious...
sage: a = 3 # Assign a value to a variable a
sage: b = a # Create a copy of a
sage: b = 2 # Change the value of b
sage: b
2
sage: a # The value of a remains unchanged, as expected.
3
So far, it looks good to me. But, when I
On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
Please tell me if this is a bug, or, I'm missing something obvious...
sage: a = 3 # Assign a value to a variable a
sage: b = a # Create a copy of a
sage: b = 2 # Change the value of b
sage: b
2
sage: a # The value of a remains unchanged, as
Hello,
On Sat, Jun 12, 2010 at 5:27 PM, Byungchul Cha cha3...@gmail.com wrote:
Please tell me if this is a bug, or, I'm missing something obvious...
sage: a = 3 # Assign a value to a variable a
sage: b = a # Create a copy of a
This does not create a copy of a. When you do a = 3, this
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
Please tell me if this is a bug, or, I'm missing something obvious...
sage: a = 3 # Assign a value to a variable a
sage: b = a # Create a copy of a
sage: b = 2 # Change the
On Jun 12, 2010, at 19:07 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com 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.,
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 19:07 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
[snip]
Shouldn't the value of v remain the same? Why
On Jun 12, 2010, at 20:30 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 19:07 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 17:27 , Byungchul Cha wrote:
[snip]
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 20:30 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker jus...@mac.com wrote:
On Jun 12, 2010, at 19:07 , William Stein wrote:
On Saturday, June 12, 2010, Justin C. Walker
10 matches
Mail list logo