[sage-support] Re: why is this contour integral wrong?

2011-12-05 Thread achrzesz
On Dec 5, 5:31 am, Dan Drake dr...@kaist.edu wrote: I keep wondering whether Sage is making a mistake, or I'm not understanding complex analysis. I'm a little afraid to learn the answer. :) Take f(z) = (z-I)*(z-1)^2/(z-(-1/2-I/3)). It's analytic everywhere except at -1/2-I/3, where it has

Re: [sage-support] Re: Win 7 64 Host and SAGE/Fedora guest on VMware or Virtualbox

2011-12-05 Thread Carel van Dam
I'm doing my masters at the moment and I plan on running sage quite a bit for now, both via the VM and a local linux install. I can try one image a month for you guys (The cap is a bit of an issue), and I'll try break each distro during my coffee breaks :P May be it'd help to setup a page on what

[sage-support] Re: Win 7 64 Host and SAGE/Fedora guest on VMware or Virtualbox

2011-12-05 Thread emil
On Dec 5, 9:14 am, Carel van Dam carelv...@gmail.com wrote: I'm doing my masters at the moment and I plan on running sage quite a bit for now, both via the VM and a local linux install. I can try one image a month for you guys (The cap is a bit of an issue), and I'll try break each distro

[sage-support] Unicode characters in axes labels?

2011-12-05 Thread Eugene Goldberg
Hello! I am trying to use unicode characters in axes labels and it fails with exception: P = plot_step_function([(i,prime_pi(i)) for i in range(20)],thickness=2,color='black') P.show(axes=False,frame=True,axes_labels=('текс','x')) Traceback (most recent call last): File stdin, line 1, in

[sage-support] Re: why is this contour integral wrong?

2011-12-05 Thread achrzesz
On Dec 5, 10:04 am, achrzesz achrz...@wp.pl wrote: On Dec 5, 5:31 am, Dan Drake dr...@kaist.edu wrote: I keep wondering whether Sage is making a mistake, or I'm not understanding complex analysis. I'm a little afraid to learn the answer. :) Take f(z) = (z-I)*(z-1)^2/(z-(-1/2-I/3)).

[sage-support] Define polynomial rings of given variables

2011-12-05 Thread Subhadeep Banik
If I have a boolean expression of a certain number of variables, how do I define a polynomial ring with them.. For example, let (x0,x1,x2,x3,x4,x5,x6,x7) be a set of variables, and I have an expression S = x0 + x1*x3 + x7 I need to define the polynomial ring

[sage-support] Re: Define polynomial rings of given variables

2011-12-05 Thread Nils Bruin
R=BooleanPolynomialRing(100,['x'+str(i) for i in [1..100]]) R.inject_variables()# if you don't really need the identifiers in Python's namespace, better skip this On Dec 5, 6:18 am, Subhadeep Banik monsieurlel...@gmail.com wrote: If I have a boolean  expression of a certain number of

[sage-support] Re: why is this contour integral wrong?

2011-12-05 Thread kcrisman
So it sounds like you should file a ticket, Dan. Maybe we're just sending it to Maxima wrong. (%i9) f(z):=(z-%i)*(z-1)^2/(z-(-1/2-%i/3)); 2 (z - %i) (z - 1) (%o9) f(z) := -

[sage-support] Re: Define polynomial rings of given variables

2011-12-05 Thread achrzesz
On Dec 5, 3:18 pm, Subhadeep Banik monsieurlel...@gmail.com wrote: If I have a boolean  expression of a certain number of variables, how do I define a polynomial ring with them.. For example, let (x0,x1,x2,x3,x4,x5,x6,x7) be a set of variables, and I have  an expression S = x0 + x1*x3 + x7

[sage-support] sagenb down

2011-12-05 Thread john_perry_usm
Hi sagenb doesn't seem to be working. A student of mine is about to defenestrate herself (her words) because it's not working. If this is expected downtime; my apologies -- she wasn't supposed to be using sagenb in the first place, but that's life. :-) regards john perry -- To post to this

Re: [sage-support] sagenb down

2011-12-05 Thread D. S. McNeil
test.sagenb.org seems to be up, so if she has a saved local copy of a worksheet, she could use that.. Doug -- 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

Re: [sage-support] sagenb down

2011-12-05 Thread William Stein
On Dec 5, 2011 9:47 AM, john_perry_usm john.pe...@usm.edu wrote: Hi sagenb doesn't seem to be working. A student of mine is about to defenestrate herself (her words) because it's not working. If this is expected downtime; my apologies -- she wasn't supposed to be using sagenb in the first

[sage-support] Finding numerical solutions to an inequality in multiple variables

2011-12-05 Thread Cal
Hi, all, I'm new here and new-ish to sage and I was hoping you could help me with a rather complicated problem. My professor gave me this inequality: 0 (2*n*(i+j+k))/(-k*n+j*(n-s)+i*s) 1 and he wants me to see if I can find solutions within the following constraints: 0 s n, i,j,k integers,

[sage-support] Re: sagenb down

2011-12-05 Thread Jason Grout
On 12/5/11 11:54 AM, William Stein wrote: On Dec 5, 2011 9:47 AM, john_perry_usm john.pe...@usm.edu mailto:john.pe...@usm.edu wrote: Hi sagenb doesn't seem to be working. A student of mine is about to defenestrate herself (her words) because it's not working. If this is expected

[sage-support] Re: Finding numerical solutions to an inequality in multiple variables

2011-12-05 Thread Volker Braun
I don't think maxima does polyhedral computations in its assume facility, so you probably get the wrong answer. We do, however, have quite a lot of tools for polyhedral computations: sage: P = Polyhedron(ieqs=[(1,2), (10,-7)]) sage: P A 1-dimensional polyhedron in QQ^1 defined as the convex

[sage-support] Re: sagenb down

2011-12-05 Thread john_perry_usm
On Dec 5, 11:54 am, William Stein wst...@gmail.com wrote: On Dec 5, 2011 9:47 AM, john_perry_usm john.pe...@usm.edu wrote: sagenb doesn't seem to be working. A student of mine is about to defenestrate herself (her words) because it's not working. ... I have just initiated restarting the

[sage-support] Re: sagenb down

2011-12-05 Thread Jason Grout
On 12/5/11 11:47 AM, john_perry_usm wrote: defenestrate herself (her words) For the curious: http://en.wikipedia.org/wiki/Defenestration Defenestration is the act of throwing someone or something out of a window.[1] The term defenestration was coined around the time of an incident in Prague

Re: [sage-support] Re: Jmol on Android tablet

2011-12-05 Thread William Stein
On Sat, Nov 26, 2011 at 10:12 PM, pong wypon...@gmail.com wrote: Thanks for the tips, but I would like to have live 3D-plots (ones that one can spin and drag around). In theory, doing this (written by Bill Cauchois) should work, but it doesn't work on Android: I = icosahedron()

[sage-support] Re: why is this contour integral wrong?

2011-12-05 Thread achrzesz
On Dec 5, 4:56 pm, kcrisman kcris...@gmail.com wrote: So it sounds like you should file a ticket, Dan.  Maybe we're just sending it to Maxima wrong. (%i9) f(z):=(z-%i)*(z-1)^2/(z-(-1/2-%i/3));                                                    2                                    (z - %i)

[sage-support] Re: Finding numerical solutions to an inequality in multiple variables

2011-12-05 Thread Cal
That would explain why it wasn't working. I've never done polyhedral computations before, but I will look at your example and the reference manual and see what I can do! Thank you! On Dec 5, 1:45 pm, Volker Braun vbraun.n...@gmail.com wrote: I don't think maxima does polyhedral computations in

[sage-support] Re: computing the cup-product in the cohomology of a simplicial complex

2011-12-05 Thread Felix Breuer
Here is a first implementation of the cup product. I hope (of course) that the code is correct, but it is certainly not very idomatic. Any suggestions for improvement are welcome! def cup_product(X,c1,dim1,c2,dim2): d = dim1 + dim2 faces1 = list(X.n_faces(dim1)) faces2 =

[sage-support] some problem with installation on winxp

2011-12-05 Thread issacnewton
Hi I am trying to set up sage using vitualbox. What base memory should I set in virtualbox for the sage ? While setting up, I assigned 1024 MB base memory. Later the Virtualbox keeps reminding me that base memory is more than 50 % of total memory (1.74 GB) and there might be problems. I also