[sage-support] Out of memory error when dividing vector by scalar

2012-07-26 Thread Kyle Schalm
I'm using sage 4.6.1 (release data 2011-01-11) on Linux. When I tried to divide a vector of ~1 elements by a scalar, it ran out of system memory and crashed. code: n = 1 v = vector([0]*n) # ok so far v2 = v/1 # kaboom I repeated this process for increasing values of n st

[sage-support] Re: implicit plot

2008-06-05 Thread Kyle Schalm
On Jun 5, 4:59 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > I really really really wish somebody would get all inspired and put some > work into devel/sage/sage/plot/plot.py. It's really gone almost nowhere in > the year and a half since Alex Clemesha stopped working on it. I do > realize

[sage-support] Re: 3 == pi

2008-06-05 Thread Kyle Schalm
I'm hearing some scary proposals in this thread, like crippling symbolic processing, or introducing a whole new set of comparison relations. At the same time I feel that the behaviour John is describing is indeed confusing to newcomers and off-putting enough to be worth doing something about. I be

[sage-support] Re: implicit plot

2008-06-05 Thread Kyle Schalm
thanks -- how do i get it to show the axis labels ("u" and "v")? and better yet, could we fix things to make it do this automatically? On May 30, 8:49 am, "David Joyner" <[EMAIL PROTECTED]> wrote: > sage: u,v = var("u,v") > sage: parametric_plot3d([u, v, 1-u-v], (u,-1, 1), (v,-1, 1)) > > should w

[sage-support] Re: 3 == pi

2008-06-05 Thread Kyle Schalm
On Jun 5, 2:24 pm, "Rhys Ulerich" <[EMAIL PROTECTED]> wrote: > > this asymmetry between true and false seems bad. shouldn't "is_true(x) > > == is_false(!x)" always be true? > > Depends on whether or not you're talking to a SQL person. I think > is_true(x) == is_false(!x) > should either be

[sage-support] Re: mailing list options

2007-09-08 Thread Kyle Schalm
nge your settings on sage-newbie, go to > http://groups.google.com/group/sage-newbie/subscribe > and fiddle with the settings. You could replace "newbie" by "forum" or > whatever > for other groups. > > ++ > > On 9/8/07, Kyl

[sage-support] mailing list options

2007-09-08 Thread Kyle Schalm
sorry for the spam, but how do i change my mailing list subscription to receive a daily digest instead of the current individual mails? that used to work well but the volume is too high now (esp. sage-devel)... i can go to the web page for this google group, but it seems as if i can only sign i

[sage-support] Re: is_RealNumber does not work

2007-05-10 Thread Kyle Schalm
presumably you could do if CC(x).imag() != 0: # raise error > > Well I would like to make a Point class for a 2D coordinate system. So > what is the best way to prevent most numbers with non-zero imaginary > parts from becoming x and/or y in the definition of a given point

[sage-support] Re: How do I extract submatrices from a matrix?

2007-04-24 Thread Kyle Schalm
> > On 4/23/07, David Joyner <[EMAIL PROTECTED]> wrote: >> >> On 4/23/07, didier deshommes <[EMAIL PROTECTED]> wrote: > >> matrix_from_rows_and_columns( ) > > Thanks, I knew there was something I was missing. Any chance of > aliasing this function to "submatrix()"? Because > "matrix_from_rows_

[sage-support] Re: polynomial evaluation

2007-03-08 Thread Kyle Schalm
> > The above code is a good idea, but there would be efficiency > issues. It would be better to do this (see the ev function below). > > sage: R1. = QQ['w'] > sage: R2. = R1['z'] > sage: f = w*z + (1-w)*z^3 + 3 > sage: def ev(f, a): > ...return f.parent()([c(a) for c in f.list()]) > sage: e

[sage-support] Re: polynomial evaluation

2007-03-07 Thread Kyle Schalm
> > On 3/7/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > >> . the question is: how do i evaluate w while leaving z untouched? >> (i actually want to do this when R1 is a multivariable ring, but i imagine >> it works the same way.) >> > > Can't y

[sage-support] polynomial evaluation

2007-03-07 Thread Kyle Schalm
i have a question about a polynomial ring over a polynomial ring. suppose i have R1. = QQ['w'] R2. = R1['z'] and i construct some sort of element, f = z*w i know that if i want to evaluate z, i can do something like f(1) # output: w and even f(1)(5) # same as w(5) . the question is: