[sage-support] Re: sagenb.org

2011-04-08 Thread zieglerk
On Apr 6, 7:31 pm, William Stein wrote: > On Fri, Apr 1, 2011 at 8:31 AM, VictorMiller wrote: > > Is sagenb.org having problems?  I tried to log on yesterday (and > > today, just now), and it said that my username was unknown! I have the same problem with the username zieglerk

[sage-support] Re: How to add arrows to the axes?

2010-04-15 Thread zieglerk
PPS: I am using sage-4.3.3 and OpenSUSE 11.1. -- 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 group at http://groups.google.com/group/sage-support URL: http

[sage-support] [2d plot] How to add arrows to the axes?

2010-04-15 Thread zieglerk
Hi, I'm preparing some function plots for a presentation and would finally like to add labels and arrows to the axes. I achieve the latter by sage: p = plot(sin(x), -3, 3) sage: p.show(axes_labels=['$x$', '$y$']) But oddly, there seems to be no option for the show-method of a plot to add arrows

[sage-support] Re: extracting coefficients of polynomials

2010-02-22 Thread zieglerk
, Konstantin On Feb 18, 11:15 pm, zieglerk wrote: > On Feb 18, 10:31 am, John Cremona wrote: > > > > > On Feb 18, 9:15 am,zieglerk wrote: > > > > I was pretty sure, that there was a method for polynomials to extract > > > the coefficient of a certain

[sage-support] Re: extracting coefficients of polynomials

2010-02-18 Thread zieglerk
On Feb 18, 10:31 am, John Cremona wrote: > On Feb 18, 9:15 am, zieglerk wrote: > > > > > I was pretty sure, that there was a method for polynomials to extract > > the coefficient of a certain monomial (say x^2).  But the method I > > used for that before > >

[sage-support] extracting coefficients of polynomials

2010-02-18 Thread zieglerk
I was pretty sure, that there was a method for polynomials to extract the coefficient of a certain monomial (say x^2). But the method I used for that before R = PolynomialRing(QQ, 'x') f = R.random_element(degree = 3) f.coeff(x^2) now returns the error AttributeError: 'Polynomial_rational_dense

[sage-support] Re: sage-mode completion not quite working with sage 4.3.2

2010-02-18 Thread zieglerk
Hi, I've experienced similar problems after upgrading to sage 4.3.2, but I don't think it's a problem of sage-mode, but rather of sage itself, since it persists, when running sage from the command line. Interestingly only for some objects the problem arises. R = PolynomialRing(QQ, 'x') f = R.ran

[sage-support] Re: how to stop a Sage program from consuming all available memory?

2010-02-07 Thread zieglerk
I'm using sage from the command line (or more precisely through emacs sagemode). Let me ask the opposite question: How can I allocate *more* memory to the sage process. Sometimes extensive calculations break of with an "out of memory" message. (Or is this more an issue of my OS?) As a footnote

[sage-support] equation vs. equality

2010-01-28 Thread zieglerk
Hi, My problem is, how to transform a polynomial, say f(x)=x^2+1 into the corresponding equation f(x)==0? For example, I start with R = PolynomialRing(ZZ,x) f = R.random_element(degree = 3) Then f == 0 returns false. And that's a good thing, of course. But now I want to solve f == 0 mod 7, t

[sage-support] Re: plotting the quotient of two degree 128 polynomials

2010-01-09 Thread zieglerk
Thanks, indeed this solved the problem in the example. Unfortunately, there is still a problem, if the degree of both polynomials U and V increases to, say d = 1024. Note that the degree of the rational function P = U/V is still 0 and both poles (0 and 1) are far enough outside of the range wher

[sage-support] plotting the quotient of two degree 128 polynomials

2010-01-09 Thread zieglerk
Hi, I have two monic polynomials U, V of equal degree d with integer coefficients. Furthermore the second one is of particularly simple form, namely with roots only at 0 and 1. I want to plot the value of their quotient in the range from 2 to 15. Evaluating the quotient for any specific x in th

[sage-support] error while installing termcap-1.3.1.p0

2009-12-20 Thread zieglerk
o overwrite SAGE_ROOT environment variable The extraction of the sage-script packages runs smoothly, but then immediately two warnings/erros show up: > cp: cannot stat > `/home/zieglerk/8--software/math/sage/sage-4.2.1/sage-python': No such file > or directory > cp: cannot stat `/hom

[sage-support] Grassmannians or how to view F_16 as an F_4-vector space

2009-08-31 Thread zieglerk
Dear list, Starting from a finite field, say F = GF (16). I want to consider a subfield, say E = GF(4) and have a list of all sub-vectorspaces of F, which are e.g. 1- dimensional E-vectorspaces. The functions FF = F.vector_space() S = FF.subspaces(4) seem to be a possible start. What seem

[sage-support] Re: range endpoints

2009-04-01 Thread zieglerk
Hi, > > Even better, of course, is [a..b] and (a...b). > this seems quite intuitive and handy, but I haven't found the documentation for both anywhere. Neither among the topic "lists" nor when searching for "intervals". Can you give me a hint. Konstantin --~--~-~--~~~