[sage-support] Using factorial() in symbolic calculus

2008-04-22 Thread Helio Perroni Filho
Hello all, I've been trying to use SAGE to find the positive infinity limit of this function: f(x) = ln(x^x) / ln(x!) However, if I try defining it in SAGE like this: f(x) = ln(x^x) / ln(factorial(x)) I get the following error message: -

[sage-support] complete elliptic integral of the first kind?

2008-04-22 Thread dvase
Hello, I am looking to use a complete elliptic integral of the first kind in sage, however I'm not sure if this has been implemented. The link http://www.sagemath.org/doc/html/ref/module-sage.functions.special.html mentions a function "elliptic_kc", but it doesn't seem to be implemented in sage v

[sage-support] Documentation with several entries

2008-04-22 Thread Hector Villafuerte
Hi, while trying this: sage: gap.Factorization? I got this... Type: Definition: gap.Factorization( [noargspec] ) Docstring: Help: several entries match this topic - type ?2 to get match [2] [1] Reference: factorization [2] Reference: Factorization Which I can't get to work in either

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread Jason Grout
Jason Grout wrote: > Lars Fischer wrote: >> Hello, >> >>> I think this feature request is reasonable, but the way to >>> implement it is to just do it directly instead of including a >>> full javascript text editor.What do you think? >> you could write a more general function that does not onl

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread Jason Grout
Lars Fischer wrote: > Hello, > >> I think this feature request is reasonable, but the way to >> implement it is to just do it directly instead of including a >> full javascript text editor.What do you think? > > you could write a more general function that does not only match > parenthesis (

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread Lars Fischer
Hello, > I think this feature request is reasonable, but the way to > implement it is to just do it directly instead of including a > full javascript text editor.What do you think? you could write a more general function that does not only match parenthesis (), but also brackets [] and brace

[sage-support] Re: some advice for large eigenvectors problem

2008-04-22 Thread William Stein
On Tue, Apr 22, 2008 at 11:51 AM, Leonardo Banchi <[EMAIL PROTECTED]> wrote: > Hi, i am a physics student and i have to find the *exact* eigenvector of a > large > (4000x4000, and more) integer valued symmetric matrix with many zeros and > probably relatively small elements. We have a conjectur

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread William Stein
On Tue, Apr 22, 2008 at 1:25 AM, Mike Hansen <[EMAIL PROTECTED]> wrote: > > Hi, > > Do you know a good example of an javascript text editor that does > this? If you could search around, that would be most helpful. The > biggest concern is probably the impact on performance; it's the same >

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread William Stein
On Tue, Apr 22, 2008 at 7:59 AM, Kai <[EMAIL PROTECTED]> wrote: > > Ok, I forgot to mention that i'd like to plot the real and imaginary > parts or the absolute value of the function. With your help i got this > far: > > > sage: E = pari(['1', 'I']) > > sage: f = lambda a,b: E.ellwp(a+b*I) >

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread Kai
Ok, I forgot to mention that i'd like to plot the real and imaginary parts or the absolute value of the function. With your help i got this far: sage: E = pari(['1', 'I']) sage: f = lambda a,b: E.ellwp(a+b*I) sage: g= lambda a,b: real(E.ellwp(a+b*I)) sage: P = plot3d(g,(0.1,0.9),(0.1,0.9), adapti

[sage-support] Re: Sage server on a gentoo system

2008-04-22 Thread William Stein
On Tue, Apr 22, 2008 at 2:26 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > William Stein wrote: > > On Mon, Apr 21, 2008 at 5:51 PM, Dan Drake <[EMAIL PROTECTED]> wrote: > >> On Mon, 21 Apr 2008 at 05:12PM -0700, William Stein wrote: > >> > I think it would be very easy for us to add an >

[sage-support] problem with Cython cell

2008-04-22 Thread pong
I followed example 5.2.4 in SAGE Programming Guide. However, even after the %cython cell is executed the runtime shown by time v=[sumsquares(100) for _ in xrange(1)] does not decrease as if SAGE still runs the uncomplied version (which was typed preceding the %cython cell) May I know why? A

[sage-support] Re: plotting Weierstrass Elliptic function

2008-04-22 Thread David Joyner
I'm not sure what 3d plot you want. However, if I read the documentation at the link you provided correctly then sage: E = pari(['1', 'I']) sage: E.ellwp(1+I) -1/2*I says p(1+i)=-i/2 for the elliptic curve associated to Z+iZ. Maybe you want to plot the real and imaginary parts of sage: f = lamb

[sage-support] plotting Weierstrass Elliptic function

2008-04-22 Thread Kai
Hi there, i am currently writing a term paper on the Weierstrass p-function and was wondering if i could create a plot of it for a certain lattice. I already found the function ellwp() in the documentation http://www.sagemath.org/doc/html/ref/module-sage.libs.pari.gen.html, but had some difficult

[sage-support] Re: Sage server on a gentoo system

2008-04-22 Thread Jason Grout
William Stein wrote: > On Mon, Apr 21, 2008 at 5:51 PM, Dan Drake <[EMAIL PROTECTED]> wrote: >> On Mon, 21 Apr 2008 at 05:12PM -0700, William Stein wrote: >> > I think it would be very easy for us to add an >> > address='all' >> > option, which would allow access from anywhere. >> > Would

[sage-support] Re: parenthesis matching in notebook environment

2008-04-22 Thread Mike Hansen
Hi, Do you know a good example of an javascript text editor that does this? If you could search around, that would be most helpful. The biggest concern is probably the impact on performance; it's the same issue with things like syntax highlighting. --Mike On Tue, Apr 22, 2008 at 1:21 AM, pong

[sage-support] parenthesis matching in notebook environment

2008-04-22 Thread pong
I wonder if there is any parenthesis matching function in SAGE notebook environment (like that in Emacs). It is helpful in typing an instruction with severals nested parenthesis. If this has been implemented, how how to invoke it? If not, I hope this will be implemented in later versions of SAGE.

[sage-support] Re: Sage server on a gentoo system

2008-04-22 Thread Adam Getchell
On Tue, Apr 22, 2008 at 1:55 AM, William Stein <[EMAIL PROTECTED]> wrote: Excellent! And here I was about to post a WireShark dump showing SAGE replying with a RST, ACK in response to the web browser request from the Windows machine. Now that I know this behavior is expected, I modified the READ