[sage-support] Re: Server Questions

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 11:54 PM, David Monarres <[EMAIL PROTECTED]> wrote: > > Hello all, > > first of I would like to thank you all for your hard work. SAGE is > amazing, and it only gets better. > > It seems that I cannot find any documentation about setting up a public > (at least on our local

[sage-support] Server Questions

2008-08-26 Thread David Monarres
Hello all, first of I would like to thank you all for your hard work. SAGE is amazing, and it only gets better. It seems that I cannot find any documentation about setting up a public (at least on our local department network ) sage server. I have set up sage in a chroot environment, following t

[sage-support] Plotting functions with asymptotes

2008-08-26 Thread kcrisman
There have been tons of great improvements to the plotting making their way through trac lately. Do any of those changes for ranges etc. deal with the very weird output one gets for e.g. sage: plot((x-1)/(x+2),-4,4) or, worse, sage: plot(tan,-20,20) In both cases, Sage isn't "recognizing" the

[sage-support] Re: Double Factorial

2008-08-26 Thread Jason Merrill
On Aug 26, 9:37 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Tue, 26 Aug 2008, William Stein wrote: > > > On Tue, Aug 26, 2008 at 5:34 PM, Jason Merrill <[EMAIL PROTECTED]> wrote: > >> Does Sage have a double factorial somewhere that I'm missing.  If not, > >> could it? > > Yes, Integers h

[sage-support] Re: Double Factorial

2008-08-26 Thread Robert Bradshaw
On Tue, 26 Aug 2008, William Stein wrote: > > On Tue, Aug 26, 2008 at 5:34 PM, Jason Merrill <[EMAIL PROTECTED]> wrote: >> >> I couldn't find a double factorial function in sage. That is, >> >> n!! == n*(n - 2)*(n - 4)... >> >> Does Sage have a double factorial somewhere that I'm missing. If no

[sage-support] Re: Double Factorial

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 5:34 PM, Jason Merrill <[EMAIL PROTECTED]> wrote: > > I couldn't find a double factorial function in sage. That is, > > n!! == n*(n - 2)*(n - 4)... > > Does Sage have a double factorial somewhere that I'm missing. If not, > could it? > I had to write this for Pynac. Her

[sage-support] Double Factorial

2008-08-26 Thread Jason Merrill
I couldn't find a double factorial function in sage. That is, n!! == n*(n - 2)*(n - 4)... Does Sage have a double factorial somewhere that I'm missing. If not, could it? Regards, JM --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@google

[sage-support] Re: fixing precision for real and complex and sliders

2008-08-26 Thread Philippe Saade
On Tue, Aug 26, 2008 at 6:05 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 26, 2008 at 2:59 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I quickly browsed sage-support and the wiki. Sorry for duplicates >> >> What is the prefered way to restrict real precision in a c

[sage-support] Re: Period lattice precision

2008-08-26 Thread John Cremona
There are indeed two things going on: the gp interpreter and the pari library, You can use pari.set_real_precision() as you say. I was mixing the two up. But in the example: -- | SAGE Version 3.1.1, Release Date: 2008-08-17

[sage-support] how to embed variables in latex

2008-08-26 Thread Will Hartt
can someone point me to an example of embedding a calculated variable in latex? For example: %latex I want some math $$\gamma =$$ and a computed variable "my python float here" Thanks --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@google

[sage-support] published worksheet useless without pictures ?

2008-08-26 Thread Philippe Saade
Hi, sorry again for such a mail. I know that there is a track about graphics disappearing from worksheets but for published worksheets it's even worth because they look really useless/ugly without these. There seems to be no /cells/n directory saved, so no images...too Hope there will be a qui

[sage-support] Re: fixing precision for real and complex and sliders

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 2:59 AM, Philippe Saade <[EMAIL PROTECTED]> wrote: > > Hi > > I quickly browsed sage-support and the wiki. Sorry for duplicates > > What is the prefered way to restrict real precision in a cell, > worksheet or @interact. > > I modified @interact example with a slider but th

[sage-support] Re: Introspection for special hash method?

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 3:59 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Dear Sage team, > > i am puzzled by the fact that introspection does not work for the hash > method, while it works for other special methods. > > I applied Martin's patch for ticket #3724, which provides a new hash > metho

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 9:00 AM, Robert Dodier <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 9:42 AM, William Stein <[EMAIL PROTECTED]> wrote: > >> (%i7) load(coeflist); >> (%o7) >> /Users/was/s/local/share/maxima/5.13.0/share/contrib/format/coeflist.lisp >> (%i8) coeffs(P,x); >> Maxima en

[sage-support] Re: Period lattice precision

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 4:23 AM, John Cremona <[EMAIL PROTECTED]> wrote: > > I already had a quick look at this when Hakan first posted, but came > to no instant conclusion -- Given that the first output has the right precision and the second doesn't, it's surely a simple to fix caching issue.

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread Robert Dodier
On Tue, Aug 26, 2008 at 9:42 AM, William Stein <[EMAIL PROTECTED]> wrote: > (%i7) load(coeflist); > (%o7) > /Users/was/s/local/share/maxima/5.13.0/share/contrib/format/coeflist.lisp > (%i8) coeffs(P,x); > Maxima encountered a Lisp error: > > EVAL: undefined function LSH Should be fixed in versi

[sage-support] Re: square of an inequality

2008-08-26 Thread Jason Grout
Alec Mihailovs wrote: > From: "Stan Schymanski" <[EMAIL PROTECTED]> > >> I think it would be very nice to include a solve algorithm for >> inequalities. To my knowledge, Mathematica does not do this, either. >> Or at least, I did not find out how to do it in Mathematica after 4 >> years of use. >

[sage-support] Re: Still can't empty the trash...

2008-08-26 Thread kcrisman
> This got RE-broken by some recent changes in the notebook: > > http://trac.sagemath.org/sage_trac/ticket/3711 > Good to know. On a related note, it would be nice to not have Archived and Active worksheets appear together when one clicks on Archived worksheets, though of course given the abov

[sage-support] Re: automatic display of saved plots in re-opened notebook

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 4:53 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Dear all, > > Is there a way of saving and automatically re-loading plots generated > in a notebook when I re-open the notebook? This is *not* by design, and wasn't the case until very recently. It's a bug in the not

[sage-support] Re: Still can't empty the trash...

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 7:29 AM, kcrisman <[EMAIL PROTECTED]> wrote: > > I know that trash emptying is implemented (http://trac.sagemath.org/ > sage_trac/ticket/432, various discussions in the Spring of 2008 on > this group). > > But it still doesn't work for me. OSX.4 PPC, Sage 3.0.6, Safari > 3

[sage-support] Re: order in adding plots to plots

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 8:44 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Philippe Saade wrote: >> Hi, >> >> sorry for the attatched image but it might help to understand to problem. >> >> I wrote a procedure to draw (nicely ?) a multiedged digraph (I know >> that some good work is coming soon f

[sage-support] Re: order in adding plots to plots

2008-08-26 Thread Jason Grout
Philippe Saade wrote: > Hi, > > sorry for the attatched image but it might help to understand to problem. > > I wrote a procedure to draw (nicely ?) a multiedged digraph (I know > that some good work is coming soon from E. Kirkman but i need > something NOW... :-( > > Does anybody know why line

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 5:41 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Dear all, > > On Aug 26, 2:28 pm, "Philippe Saade" <[EMAIL PROTECTED]> wrote: >> var('x') >> P = taylor(exp(x),x,0.21,3) >> P.coeffs(x) > > There occurs a TypeError, and it says > Maxima encountered a Lisp error: > EVAL:

[sage-support] Still can't empty the trash...

2008-08-26 Thread kcrisman
I know that trash emptying is implemented (http://trac.sagemath.org/ sage_trac/ticket/432, various discussions in the Spring of 2008 on this group). But it still doesn't work for me. OSX.4 PPC, Sage 3.0.6, Safari 3.1.2. I can send stuff to the trash, and 'empty' it, but the files are still list

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread Carlo Hamalainen
On Tue, Aug 26, 2008 at 2:41 PM, Simon King <[EMAIL PROTECTED]> wrote: > Am i right in guessing that "LSH" is a mis-spelling of "LHS" somewhere > in the code of the maxima interface? > > However it does not explain why the same function works in one case > and fails in the other case. I posted a

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread Simon King
Dear all, On Aug 26, 2:28 pm, "Philippe Saade" <[EMAIL PROTECTED]> wrote: > var('x') > P = taylor(exp(x),x,0.21,3) > P.coeffs(x) There occurs a TypeError, and it says Maxima encountered a Lisp error: EVAL: undefined function LSH Am i right in guessing that "LSH" is a mis-spelling of "LHS" s

[sage-support] Re: automatic display of saved plots in re-opened notebook

2008-08-26 Thread Stan Schymanski
Hi Philippe, On Aug 26, 2:11 pm, "Philippe Saade" <[EMAIL PROTECTED]> wrote: > on my computer (Sage 3.1.1 Ubuntu), Evaluate All works fine and > regenerate all plots. That's good to know. Encouraged by this I tried out a few things and found out that the first cell in my notebook prevented the

[sage-support] P.coeffs() issue

2008-08-26 Thread Philippe Saade
Hi, This works : var('x') P = taylor(exp(x),x,0,3) P.coeffs(x) but not this var('x') P = taylor(exp(x),x,0.21,3) P.coeffs(x) Why ? Philippe --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] Re: automatic display of saved plots in re-opened notebook

2008-08-26 Thread Philippe Saade
On Tue, Aug 26, 2008 at 1:53 PM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Dear all, > > Is there a way of saving and automatically re-loading plots generated > in a notebook when I re-open the notebook? > > Currently, when I close and re-open a notebook, all previously > displayed plots are

[sage-support] automatic display of saved plots in re-opened notebook

2008-08-26 Thread Stan Schymanski
Dear all, Is there a way of saving and automatically re-loading plots generated in a notebook when I re-open the notebook? Currently, when I close and re-open a notebook, all previously displayed plots are gone and even Action... -> Evaluate All does not bring them back. I have to keep pressing

[sage-support] Re: Period lattice precision

2008-08-26 Thread John Cremona
I already had a quick look at this when Hakan first posted, but came to no instant conclusion -- except that there are quite a few functions in the Sage-pari interface where precision is impossible or difficult to set as one would hope. For example: sage: P=EllipticCurve('37a1').gens()[0]; P.heig

[sage-support] Introspection for special hash method?

2008-08-26 Thread Simon King
Dear Sage team, i am puzzled by the fact that introspection does not work for the hash method, while it works for other special methods. I applied Martin's patch for ticket #3724, which provides a new hash method for matrices over GF(2) and also contains examples in the doc string. But the doc s

[sage-support] fixing precision for real and complex and sliders

2008-08-26 Thread Philippe Saade
Hi I quickly browsed sage-support and the wiki. Sorry for duplicates What is the prefered way to restrict real precision in a cell, worksheet or @interact. I modified @interact example with a slider but the numbers have to many digits so the Latex output is ugly... Thanks for help Philippe --

[sage-support] Re: using sage -python

2008-08-26 Thread William Stein
On Thu, Aug 14, 2008 at 7:20 AM, Eli <[EMAIL PROTECTED]> wrote: > > Hello. > I have sage installed on a computer that has also a normal python > installation ("system-wide" python). > Now, I would like to run a python script with the python installed > inside sage (not the system-wide) > How is it

[sage-support] Re: finding minima and maxima: not working properly?

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 2:07 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Dear William, > > On Aug 25, 6:48 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > >> If you call _fast_float_ as illustrated below on your functions, find_* will >> work, and also be much much faster: >> >> sage: find

[sage-support] Re: finding minima and maxima: not working properly?

2008-08-26 Thread Stan Schymanski
Dear William, On Aug 25, 6:48 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > If you call _fast_float_ as illustrated below on your functions, find_* will > work, and also be much much faster: > > sage: find_maximum_on_interval((-x^2)._fast_float_(x),-1,1) > (-7.7037197775489434e-34, -2.7755575

[sage-support] Re: Period lattice precision

2008-08-26 Thread William Stein
On Fri, Aug 15, 2008 at 1:57 AM, Håkan Granath <[EMAIL PROTECTED]> wrote: > > Hi, > > Is this a bug or am I doing something stupid? I get different > precisions the first and second time I run the same command. > > -- > | SAGE Ver

[sage-support] Re: maple from sage on mac os

2008-08-26 Thread William Stein
On Sat, Aug 23, 2008 at 3:12 AM, G. Edgar <[EMAIL PROTECTED]> wrote: > > I tried this again... Thanks. Is there any chance I could get a temporary login shell on your machine? If you don't know how to do this, it would be easy for your sysadmin. That's the only sure way to just get this fixed.

[sage-support] Re: [sage-devel] Re: missing imports for experimental module for Sage

2008-08-26 Thread William Stein
On Tue, Aug 26, 2008 at 12:28 AM, Simon King <[EMAIL PROTECTED]> wrote: > > Dear William, > > On Aug 26, 8:06 am, "William Stein" <[EMAIL PROTECTED]> wrote: > ... >> Here is the typical sort of thing that happens if you don't import >> sage.all as you should. Note the segfault and all: >> >> tera

[sage-support] Re: [sage-devel] Re: missing imports for experimental module for Sage

2008-08-26 Thread Simon King
Dear William, On Aug 26, 8:06 am, "William Stein" <[EMAIL PROTECTED]> wrote: ... > Here is the typical sort of thing that happens if you don't import > sage.all as you should. Note the segfault and all: > > teragon-2:~ was$ sage -ipython > Python 2.5.2 (r252:60911, Jul 10 2008, 00:31:06) > Type