[sage-support] Re: strange lab behavior

2009-09-23 Thread Marshall Hampton
It really is pretty easy to set up a server, and if you have any problems you can write in here. The documentation from sage: notebook? should be enough to get started, and if not it should be improved. -M. Hampton On Sep 23, 12:06 pm, michel wrote: > Yes, we are using sagenb.org. > > I actu

[sage-support] Re: Line Plots

2009-09-23 Thread Eric Jackson
Thanks, I just figured this out right after I posted. This should have been obvious, I guess I got brain tired. Thanks again, Eric On Sep 23, 2009, at 2:13 PM, Jason Grout wrote: > > Eric Jackson wrote: >> To address my dilemma regarding line plots, I read about matplotlib >> at >> http://m

[sage-support] Re: numpy ix_ command for submatricies

2009-09-23 Thread Jason Grout
Joe wrote: > Ah, so using Sage you have to import the ix_ function separately, > where apparently in the enthought distribution you dont have to. > Although now Sage is telling me that the entries I have in the > variable 'b' need to be integers (which I think has to do with the > fact that I am r

[sage-support] Re: numpy ix_ command for submatricies

2009-09-23 Thread Joe
Ah, so using Sage you have to import the ix_ function separately, where apparently in the enthought distribution you dont have to. Although now Sage is telling me that the entries I have in the variable 'b' need to be integers (which I think has to do with the fact that I am running Sage 4.1 as I

[sage-support] Re: numpy ix_ command for submatricies

2009-09-23 Thread Jason Grout
Joe wrote: > Hey, I have some code that I wrote with my Enthought python > distribution on my laptop which uses the ix_ command for arrays and > matrices in numpy, for example: > > a=array([1,2,3,4,5,6]) > b=[3,4] > a[ix_(b)] > > gives: array([4,5]) > > but when using Sage on the computers at w

[sage-support] numpy ix_ command for submatricies

2009-09-23 Thread Joe
Hey, I have some code that I wrote with my Enthought python distribution on my laptop which uses the ix_ command for arrays and matrices in numpy, for example: a=array([1,2,3,4,5,6]) b=[3,4] a[ix_(b)] gives: array([4,5]) but when using Sage on the computers at work it does not recognize this co

[sage-support] Re: Line Plots

2009-09-23 Thread Jason Grout
Eric Jackson wrote: > To address my dilemma regarding line plots, I read about matplotlib at > http://matplotlib.sourceforge.net/users/transforms_tutorial.html. > This is a library that a user can import into their Sage worksheet to > allow then more flexibility with plots. When using matplotlib,

[sage-support] running class sage servers

2009-09-23 Thread Jason Grout
Here is my reply to a question of a colleague. Is there an easy document that tells the requirements of a class sage server? (i.e., memory, setting bridged networking on, maybe some example configurations, showing how to use the server_pool option, etc...)? Ben Woodruff wrote: > > I took my

[sage-support] Re: Line Plots

2009-09-23 Thread Eric Jackson
To address my dilemma regarding line plots, I read about matplotlib at http://matplotlib.sourceforge.net/users/transforms_tutorial.html. This is a library that a user can import into their Sage worksheet to allow then more flexibility with plots. When using matplotlib, the user may have to apply

[sage-support] Re: strange lab behavior

2009-09-23 Thread michel
Yes, we are using sagenb.org. I actually talked to our tech guy at one point about creating a local SAGE server for our school, and he thought he could probably do it, but he's just been swamped. But I noticed that sagenb has really become pretty smooth over the last year or so, so I went ahead

[sage-support] jsMath working on server

2009-09-23 Thread Mikie
Finally I have jsMath working on my server. Try http://pirsqr.com:1843/ Really strange works great on IE8, but not quit as good with FireFox. The integrator has all the pretty print. Put "int" in the type and take a look at the pretty print output. I would like some feedback on how FireFox do

[sage-support] Re: PIL decoder jpeg not available

2009-09-23 Thread Pierre
Mac OS X. Sage was compiled from source. This all seems like a path problem, really. --~--~-~--~~~---~--~~ 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 F

[sage-support] Re: strange lab behavior

2009-09-23 Thread Marshall Hampton
Although I am not a network guru, it sounds like your tech guy is right and the proxy server is causing the trouble. I don't know how you would fix that, but maybe someone else on this list does. There is an upcoming rewrite of the notebook-server implementation that might help with this but Wil

[sage-support] strange lab behavior

2009-09-23 Thread michel
Hi, I'm a high school math teacher experimenting with getting students to use SAGE. I've been successful in getting my students to open their own notebook accounts. I took my classes to the computer lab one day, and during the session the kids started experiencing other names on their accounts.

[sage-support] Re: Help for a single test in a function.

2009-09-23 Thread Francois Maltey
Many thanks Tim ! > If you simply copy-paste into the sage commandline, you will get that > error... > Last time I tried `sage.el`, there was a command to send input > directly to the comandline buffer... Perfect ! I pass the edited buffer to sage-mode in emacs, get then a new sage-send-region,

[sage-support] Re: Help for a single test in a function.

2009-09-23 Thread Tim Joseph Dumol
If you simply copy-paste into the sage commandline, you will get that error since after the `return(1)` line, indention goes back one level, like so: sage: def ff(n): :if n == 0: :return(1) :else: --- [Errors] Sin

[sage-support] Help for a single test in a function.

2009-09-23 Thread Francois Maltey
Hello Everybody ! With sage in emacs I test this single function, but I get an error : > def ff (n) : > if n==0 : > return(1) > else : > return(n*ff(n-1)) I type theses lines in a buffer, and I copy by Ctrl-K / Ctrl-Y in sage-buffer Then I get this error : > : : :

[sage-support] Re: expand, combine and rewrite with sage.

2009-09-23 Thread Burcin Erocal
Hi Francois, On Mon, 21 Sep 2009 21:22:39 +0200 Francois Maltey wrote: > Concretely > ??? I'll don't see how to operate over exp(2x) => exp(x)^2. > ??? Is there a hold (or freeze) function in sage which remains > exp(a)^2. Also look at integrate (exp(2*x)/(exp(3*x)+1), x). The > changevar is y

[sage-support] Re: Digamma Function in 4.1.1

2009-09-23 Thread Burcin Erocal
On Tue, 22 Sep 2009 18:47:50 -0700 (PDT) The_Fool wrote: > > I managed to create the symbolic polygamma function as psi(order,x). > Psi is limited in what it can do, though. I can get it to grab > special values from Maxima's or GiNaC's table, but I still cannot get > it to approximate any val