[sage-support] Re: bug: no local scope for symbolic variables

2009-06-18 Thread Robert Bradshaw
On Jun 17, 2009, at 9:21 AM, William Stein wrote: 2009/6/17 Robert Bradshaw rober...@math.washington.edu: On Jun 17, 2009, at 3:05 AM, Utpal Sarkar wrote: Thanks for the replies. I noticed something funny: if you call x = var(X) in some scope, it is X that is injected into the global

[sage-support] Re: error finding the units of a number field

2009-06-18 Thread John Cremona
I only just saw this thread. I wrote the units functionality (of course pari does the hard work); I think Francis Clarke made some changes so that things work for relative extensions too. [If anything for relative extensions works properly in Sage, it is usually Francis who takes the credit].

[sage-support] Re: factor

2009-06-18 Thread John Cremona
On Jun 17, 5:34 pm, William Stein wst...@gmail.com wrote: 2009/6/17 Robert Bradshaw rober...@math.washington.edu: On Jun 17, 2009, at 4:05 AM, John Cremona wrote: I think is is easier, both on the eye and for a beginner to understand: sage: x = polygen(ZZ) sage: f = 2*x**2 - x

[sage-support] Re: factor

2009-06-18 Thread Simon King
Hi William, On Jun 18, 12:14 pm, William Stein wst...@gmail.com wrote: ... You can also do sage: R.t = ZZ[] which doesn't look like a double definition. That's what I usually do. Sure. But when you see Mikie's post from June 17, this is what he did. The only problem was (as pointed out by

[sage-support] Re: build errors for sage 4.0.1 on Fedora 11

2009-06-18 Thread William Stein
On Wed, Jun 17, 2009 at 6:44 PM, gerhardge01...@yahoo.de wrote: for now, I just bandaided the code by adding const_cast expressions. -gerhard I would still really like to know if you still have this problem with sage-4.0.2.rc3: http://sage.math.washington.edu/home/wstein/farm/src/ Since

[sage-support] API up

2009-06-18 Thread Mikie
I have my API running on a host. Not real pretty yet, but it seems to work. Please, test. http://pirsqrt.com:7316 Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: API up

2009-06-18 Thread David Joyner
Cool! On Thu, Jun 18, 2009 at 12:46 PM, Mikiethephantom6...@hotmail.com wrote: I have my API running on a host.  Not real pretty yet, but it seems to work. Please, test. http://pirsqrt.com:7316 Thanx --~--~-~--~~~---~--~~ To post to this group, send

[sage-support] Numerical methods for solving matrix equations

2009-06-18 Thread Ethan Van Andel
Does sage have a way to use a numeric method (such as Jacobi, or Gauss- Sidel) to solve matrix equations of the form A*x = b? (CDF matrices by the way). the A.solve_right(b) method is too slow. Thanks, Ethan --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: Numerical methods for solving matrix equations

2009-06-18 Thread William Stein
On Thu, Jun 18, 2009 at 8:31 PM, Ethan Van Andelevlu...@gmail.com wrote: Does sage have a way to use a numeric method (such as Jacobi, or Gauss- Sidel) to solve matrix equations of the form A*x = b? (CDF matrices by the way). the A.solve_right(b) method is too slow. Thanks, Ethan Here is

[sage-support] Re: API up

2009-06-18 Thread Mikie
How fast was it and did it work with IE8? On Jun 18, 11:37 am, David Joyner wdjoy...@gmail.com wrote: Cool! On Thu, Jun 18, 2009 at 12:46 PM, Mikiethephantom6...@hotmail.com wrote: I have my API running on a host.  Not real pretty yet, but it seems to work. Please, test.

[sage-support] Re: Numerical methods for solving matrix equations

2009-06-18 Thread Ethan Van Andel
That worked beautifully, thanks for the fast response. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this

[sage-support] Re: Inheritance from sage.symbolic.expression.Expression

2009-06-18 Thread Nicolas
Dear Burcin, After thorough tests, your patch works pretty well ! I have just encountered a problem with pickling (and thus the save function). There is a workaround by using the __repr__ function for file saving but this requires parsing after loading. Here is the behavior of save in

[sage-support] Re: API up

2009-06-18 Thread Marshall Hampton
Works fine, very fast on Firefox 2. I am very interested in this sort of effort, if you have a chance to share your thoughts on what you have learned doing this I would greatly appreciate it. -M. Hampton On Jun 18, 1:38 pm, Mikie thephantom6...@hotmail.com wrote: How fast was it and did it

[sage-support] Re: Numerical methods for solving matrix equations

2009-06-18 Thread William Stein
2009/6/18 Ethan Van Andel evlu...@gmail.com: That worked beautifully, thanks for the fast response. Making CDF's solve_right faster is now: http://trac.sagemath.org/sage_trac/ticket/6358 William --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: bug: no local scope for symbolic variables

2009-06-18 Thread Ondrej Certik
On Thu, Jun 18, 2009 at 12:29 AM, Robert Bradshawrober...@math.washington.edu wrote: On Jun 17, 2009, at 9:21 AM, William Stein wrote: 2009/6/17 Robert Bradshaw rober...@math.washington.edu: On Jun 17, 2009, at 3:05 AM, Utpal Sarkar wrote: Thanks for the replies. I noticed something

[sage-support] Re: Numerical methods for solving matrix equations

2009-06-18 Thread Jason Grout
William Stein wrote: On Thu, Jun 18, 2009 at 8:31 PM, Ethan Van Andelevlu...@gmail.com wrote: Does sage have a way to use a numeric method (such as Jacobi, or Gauss- Sidel) to solve matrix equations of the form A*x = b? (CDF matrices by the way). the A.solve_right(b) method is too slow.