[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Dan Drake
On Wed, 16 Sep 2009 at 07:22AM -0700, Mariah wrote: > Note that the first time I did "$ hg ci" I had to edit the file > that my editor threw up to remove leading "HG" in some > lines. When I repeat the command, I now get > > No username found, using 'mar...@localhost.localdomain' instead > > I a

[sage-support] Elliptic Curves

2009-09-16 Thread Tipoy
Hello: I have two questios. 1) Can I define an Elliptic Curve over a finite extension of Q and operate with points in there? 2) Given an Elliptic Curve (over Q, for example) and a couple of points of it. How can I calculate the height matrix of those points? Thanks a lot. --~--~-~--~---

[sage-support] Re: Newbie question

2009-09-16 Thread Robert Bradshaw
On Sep 16, 2009, at 2:23 PM, Dan wrote: > I've been using sagenb for a few weeks now and have the hang of most > of the easy things. Is there a way to generate tables of a user > defined function? I'm still switching over to Excel or the TI > calculator to do that. TI table function lets you pun

[sage-support] Re: Newbie question

2009-09-16 Thread Jason Grout
Dan wrote: > My apologies for posting in the other thread. Forgot to move up a > level. > > I've been using sagenb for a few weeks now and have the hang of most > of the easy things. Is there a way to generate tables of a user > defined function? I'm still switching over to Excel or the TI > calc

[sage-support] Newbie question

2009-09-16 Thread Dan
My apologies for posting in the other thread. Forgot to move up a level. I've been using sagenb for a few weeks now and have the hang of most of the easy things. Is there a way to generate tables of a user defined function? I'm still switching over to Excel or the TI calculator to do that. TI ta

[sage-support] Newbie question

2009-09-16 Thread Dan
I've been using sagenb for a few weeks now and have the hang of most of the easy things. Is there a way to generate tables of a user defined function? I'm still switching over to Excel or the TI calculator to do that. TI table function lets you punch in table values and calculates values in table

[sage-support] Re: Newbie question

2009-09-16 Thread Jason Grout
Dan Aldrich wrote: > I've been using sagenb for a few weeks now and have the hang of most > of the easy things. Is there a way to generate tables of a user > defined function? I'm still switching over to Excel or the TI > calculator to do that. > On that new thread :), can you give an exampl

FW: [sage-support] JavaScript filtered?

2009-09-16 Thread Patrick Hammer
From: patrickhamm...@hotmail.com To: sage-support@googlegroups.com Subject: [sage-support] JavaScript filtered? Date: Sun, 13 Sep 2009 15:08:15 +0200 Hi! The following html-code doesn't work when I evaluate the cell with the HTML-mode: function test() { alert("test"); } I want

[sage-support] Re: Lie Theory

2009-09-16 Thread David Joyner
On Wed, Sep 16, 2009 at 4:50 PM, Kjetil Halvorsen wrote: > > Hola! > > ¿Is there something in Sage for Lie groups and algebras? There is the GAP stuff, lots of native stuff (use the search bar on the main Sage webpage), and lie is an optional package. What is it that you want? > > Kjetil > > >

[sage-support] sxrange / xsrange possible bug

2009-09-16 Thread Mariah
Dan, Please start a new thread rather than change the subject line. Thanks! Mariah On Sep 16, 2:33 pm, Dan Aldrich wrote: > I've been using sagenb for a few weeks now and have the hang of most > of the easy things. Is there a way to generate tables of a user > defined function? I'm still swit

[sage-support] Lie Theory

2009-09-16 Thread Kjetil Halvorsen
Hola! ¿Is there something in Sage for Lie groups and algebras? Kjetil -- "... an entire human genome would fit on a music CD." --- www.thinkgene.com --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Re: About exp (a)^b

2009-09-16 Thread kcrisman
On Sep 16, 4:04 pm, Francois Maltey wrote: > Hi, > > I play with sage, exp, sin, cos, sinh, and co... > > var("a,b,c") > exp(a)^2 # returns exp(2a) is right > exp(a)^(1/2) # returns exp (a/2) is wrong, with a=2*i*pi we get -1=1 > exp(a)^b # returns exp(a*b) is wrong Well, there is a unique exp

[sage-support] Newbie question

2009-09-16 Thread Dan Aldrich
I've been using sagenb for a few weeks now and have the hang of most of the easy things. Is there a way to generate tables of a user defined function? I'm still switching over to Excel or the TI calculator to do that. Thanks, -d --~--~-~--~~~---~--~~ To post

[sage-support] Completing the square

2009-09-16 Thread Mikie
Try my completing the square function http://pirsqrt.com:1843 Robert, thanks for all your help. A lot of work to get the "=" in the output. Maxima really helped. I think I traped most of the bad input. Did not use "eval" any place in the Python scipt. --~--~-~--~~~-

[sage-support] About exp (a)^b

2009-09-16 Thread Francois Maltey
Hi, I play with sage, exp, sin, cos, sinh, and co... var("a,b,c") exp(a)^2 # returns exp(2a) is right exp(a)^(1/2) # returns exp (a/2) is wrong, with a=2*i*pi we get -1=1 exp(a)^b # returns exp(a*b) is wrong But silly examples about power and asin (sin (x)) seems right. I find that sage (but i

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Simon King
Hi Mariah, On 16 Sep., 15:29, Minh Nguyen wrote: [...] > Do you mean producing a proper patch file using Mercurial? If yes, > then you can use the Mercurial that's shipped with Sage like so. From > SAGE_ROOT, you can do something along the lines of the following > terminal session: > > [mv...@sa

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Robert Bradshaw
On Sep 16, 2009, at 7:22 AM, Mariah wrote: > Minh, > > Ok, how does the following look? Like what you want? > The date looks funny. > > > # HG changeset patch > # User mariah.le...@gmail.com > # Date 1253110290 14400 > # Node ID 299c98

[sage-support] Re: max and min evaluating symbolic expressions too soon

2009-09-16 Thread kcrisman
Might there be a way to do something that doesn't conflict with the builtin max function in the same way as the (nearly reviewed) #3587 seems to avoid conflict with the builtin sum function? This would be pretty useful, as currently: sage: var('x,y') (x, y) sage: max(x,y) x sage: f(x)=1+x;g(x)=2

[sage-support] Re: max and min evaluating symbolic expressions too soon

2009-09-16 Thread Burcin Erocal
Hi Matt, On Mon, 14 Sep 2009 05:02:54 -0700 (PDT) Matt Rissler wrote: > Is it possible to have max behave as you would expect with a symbolic > expression, i.e. wait until you evaluate it or restrict the domain to > check what is the maximum of the two or more values. Below is a quick implem

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Mariah
Minh, Ok, how does the following look? Like what you want? The date looks funny. # HG changeset patch # User mariah.le...@gmail.com # Date 1253110290 14400 # Node ID 299c98688ef9ab55662e33f9b9e074de803de4c4 # Parent 684eea91ff224e5bc

[sage-support] Re: eval(string)

2009-09-16 Thread Mikie
Can't get [4]*(1<<30)] to work with sage: s = "1,2,3,4,100" sage: [ZZ(x) for x in s.split(',')] [1, 2, 3, 4, 100] I am using a try/exception on the input from the field in the form. If one puts any strange string it shows an error. Robert did you see my post for help with my API? On Sep 14, 7:5

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Minh Nguyen
Hi Mariah, On Wed, Sep 16, 2009 at 11:10 PM, Mariah wrote: > What I do not know how to do is to indicate that this is for the file > > sage-4.1.1/sage/misc/misc.py > > in > > spkg/standard/sage-4.1.1.spkg > > Is there a convention as to how to indicate this? Do you mean producing a proper

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Mariah
Second attempt. Embarrassing typo in my first attempt. - --- misc.py.orig        2009-09-15 16:25:22.983553000 -0400 +++ misc.py     2009-09-15 16:28:47.335875000 -0400 @@ -1001,8 +1001,8 @@      .. note

[sage-support] Re: sxrange / xsrange possible bug

2009-09-16 Thread Mariah
William, > The file misc.py has this line: > > sxrange = xsrange Ah, yes. I should have looked at the source code. Apologies. > Any chance you could post a patch with a statement that they are > aliases added to the docs? How about: --