[sage-support] jsMath GLOBAL setting

2009-01-23 Thread kks
SAGE Version 2.11, Release Date: 2008-03-30 OS : Linux Debian Etch - 32 bit i386 There is an admin account. If you do not remember the password, quit the notebook and type notebook(reset=True). Removing stale pidfile /home/kks/.sage/sage_notebook/twistd.pd 2009/01/24 12:30 +0530 [-] Log opened.

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Carl Witty
On Jan 23, 8:43 pm, kcrisman wrote: > But this whole thread was quite helpful to review the four (!) > possibilities for doing evaluation: Maxima, ns, _fast_float_, and ring > creation.  Thanks! Well, if you're making that list, you should also include Python: def f(x, y): return x^2 + y^2

[sage-support] Re: Implicit plotting without maxima

2009-01-23 Thread Mike Hansen
Hello, On Fri, Jan 23, 2009 at 8:46 PM, kcrisman wrote: > sage: f(x,y)=x^2+y^2-1 > sage: implicit_plot(f(x,y),(-1,1),(-1,1)) # Fine > sage: implicit_plot(f,(-1,1),(-1,1)) # Fine For what it's worth, fast_float is implicitly called in both of these. > Change this to _fast_float_ and I run into

[sage-support] Implicit plotting without maxima

2009-01-23 Thread kcrisman
Dear Support, Implicit plotting with normal variables is fine: sage: var('x,y') (x, y) sage: f(x,y)=x^2+y^2-1 sage: implicit_plot(f(x,y),(-1,1),(-1,1)) # Fine sage: implicit_plot(f,(-1,1),(-1,1)) # Fine Change this to _fast_float_ and I run into problems: sage: g=f._fast_float_() sage: implici

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread kcrisman
> There was a huge thread on sage-devel about this a while ago. I think   > the consensus was that > > sage: f(x,y) = x^2+y^2-1 > > will still create a (directly callable) symbolic function, but > > sage: f = x^2+y^2-1 > > will not, as the ordering between x and y is ambiguous. The jury was   > st

[sage-support] Re: server shutdown

2009-01-23 Thread William Stein
On Fri, Jan 23, 2009 at 5:46 PM, Dan Drake wrote: > On Fri, 23 Jan 2009 at 01:08PM -0500, Nathan Carter wrote: >> Yes, but I'm running it in the background (and then logging off). So >> that process is not in the foreground anymore. (Furthermore, the sage >> process actually starts lots of othe

[sage-support] Re: server shutdown

2009-01-23 Thread Dan Drake
On Fri, 23 Jan 2009 at 01:08PM -0500, Nathan Carter wrote: > Yes, but I'm running it in the background (and then logging off). So > that process is not in the foreground anymore. (Furthermore, the sage > process actually starts lots of others, in a linear chain, so "ps ax" > lists lots of s

[sage-support] Re: trouble in compiling .spyx files

2009-01-23 Thread pong
Thanks, the problem is solved after installing libstdc++x-x.x-dev (in my case x-x.x is 6-4.3) and related packages. (the installer knows the dependence). I include that here for others linux newbies who may encounter the same problem. On Jan 22, 10:55 pm, mabshoff wrote: > On Jan 22, 9:14 pm, po

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Robert Bradshaw
On Jan 23, 2009, at 4:15 PM, Carl Witty wrote: > > On Jan 23, 2:18 pm, Robert Bradshaw > wrote: >> One thought I had was that support for a wide variety of types could >> be done by manipulating function pointers. This would make it easy to >> give support for a wide variety of types without a l

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Carl Witty
On Jan 23, 2:18 pm, Robert Bradshaw wrote: > One thought I had was that support for a wide variety of types could   > be done by manipulating function pointers. This would make it easy to   > give support for a wide variety of types without a lot of specialized   > work. Function pointers are fa

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Burcin Erocal
On Fri, 23 Jan 2009 13:46:42 -0800 Robert Bradshaw wrote: > On Jan 23, 2009, at 9:04 AM, kcrisman wrote: > > That's what I figured. Are the pynac symbolics on track to be > > directly callable (i.e. f(a,b)==0, not the .subs() stuff) relatively > > soon? My ulterior motive for asking that is o

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Robert Bradshaw
On Jan 23, 2009, at 2:04 PM, Carl Witty wrote: > On Jan 23, 1:43 pm, Robert Bradshaw > wrote: >>> 3) I'm (still!) rewriting fast_float; one of the goals of the >>> eventual >>> rewrite is to have a mode that uses Sage objects instead of >>> floating- >>> point numbers (of course, this is muc

[sage-support] Re: Using jmol without the java applet in a worksheet.

2009-01-23 Thread adrian
That did it!!! Thanks!! -Adrian. On Jan 23, 2:49 pm, Robert Bradshaw wrote: > On Jan 23, 2009, at 11:06 AM, adrian wrote: > > > Is there a way in a worksheet to display a 3d plot using jmol without > > the applet; i.e.,  not embedded, but using the usual java; as it does > > if one used the ter

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Carl Witty
On Jan 23, 1:43 pm, Robert Bradshaw wrote: > > 3) I'm (still!) rewriting fast_float; one of the goals of the eventual > > rewrite is to have a mode that uses Sage objects instead of floating- > > point numbers (of course, this is much, much slower than the floating- > > point mode, but it's still

[sage-support] Re: Compiling from source on AMD64 Mandriva

2009-01-23 Thread tyler
Thanks for the speedy replies guys! There's no reason I'm not using the default gcc. In fact, I didn't realize that I wasn't. I'm not exactly sure how to find which compiler was installed by the system. When I gcc -v I get //

[sage-support] Re: Using jmol without the java applet in a worksheet.

2009-01-23 Thread Robert Bradshaw
On Jan 23, 2009, at 11:06 AM, adrian wrote: > Is there a way in a worksheet to display a 3d plot using jmol without > the applet; i.e., not embedded, but using the usual java; as it does > if one used the terminal. You can set sage.plot.plot.EMBEDDED_MODE = False, but that might have other si

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Robert Bradshaw
On Jan 23, 2009, at 9:04 AM, kcrisman wrote: > > >> Sorry to focus on one little question and ignore the big picture, but >> it's 6:15am :-) > > Yes - my first question was at 1:30 AM, so I hear you! > >> This will be better in the new symbolics: >> >> sage: x,y = var('x,y',ns=1) >> sage: f = x^

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Robert Bradshaw
On Jan 23, 2009, at 11:37 AM, Carl Witty wrote: > It's clear that the present situation is not ideal. I doubt if pynac > symbolics will fix all your problems (for instance, if your car makes > a funny noise whenever you go over 50mph, I don't think pynac > symbolics will help). Since I don't kn

[sage-support] Re: Compiling from source on AMD64 Mandriva

2009-01-23 Thread mabshoff
On Jan 23, 12:58 pm, John Cremona wrote: Hi, > I wrote the C++ code which the compiler is choking on.  It looks like > the wrong headers are being picked up, so it seems most likely that > it's a problem with the way your compiler is installed. Yes, if you link gcc-4.2 to gcc, but g++ is fro

[sage-support] Re: Compiling from source on AMD64 Mandriva

2009-01-23 Thread John Cremona
I wrote the C++ code which the compiler is choking on. It looks like the wrong headers are being picked up, so it seems most likely that it's a problem with the way your compiler is installed. I don't have anything helpful to suggest, bu others reading this list probably will! John Cremona 200

[sage-support] Compiling from source on AMD64 Mandriva

2009-01-23 Thread tyler
Good afternoon, I have been trying to install sage over the last couple of days and have had some trouble. I run Mandriva operating system on AMD64 processors in a dell inspiron laptop. It doesn't seem like the mandriva-64bit build is compatible with my system. So I've been trying to install from

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Carl Witty
On Jan 23, 6:06 am, kcrisman wrote: > Concluding unscientific postscript: > > This brings up a question I have asked before, about when to use > (e.g.) _fast_float_ or polynomial rings or whatever... Is there a > heuristic for when this should be done in *ordinary* code, i.e. not > intended for i

[sage-support] Using jmol without the java applet in a worksheet.

2009-01-23 Thread adrian
Is there a way in a worksheet to display a 3d plot using jmol without the applet; i.e., not embedded, but using the usual java; as it does if one used the terminal. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubs

[sage-support] Re: server shutdown

2009-01-23 Thread Alex Ghitza
This is more of a workaround than a straight answer, but you can use the "gnu screen" terminal multiplexer to get a process started, log off, then come back and regain console access to it. Then you can, for instance, use ctrl-c to kill the server from within your sage session. Best, Alex On Sa

[sage-support] Re: server shutdown

2009-01-23 Thread Nathan Carter
Yes, but I'm running it in the background (and then logging off). So that process is not in the foreground anymore. (Furthermore, the sage process actually starts lots of others, in a linear chain, so "ps ax" lists lots of sage- and sage-wiki-related stuff.) Nathan On Jan 23, 2009, at

[sage-support] Re: server shutdown

2009-01-23 Thread Luiz Felipe Martins
Ctrl-c will shut down the server On Fri, Jan 23, 2009 at 9:25 AM, Nathan Carter wrote: > > > This may seem like a basic question, but how should I shut down the > sage server? And the wiki? That is, I have a script that does this: > > /path/to/sage-3.2.3/sage start_notebook.sage &# on port

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread kcrisman
> Sorry to focus on one little question and ignore the big picture, but > it's 6:15am :-) Yes - my first question was at 1:30 AM, so I hear you! > This will be better in the new symbolics: > > sage: x,y = var('x,y',ns=1) > sage: f = x^2 + y^2 -1 > sage: list= [[i,j] for i in [-3..3] for j in [-

[sage-support] server shutdown

2009-01-23 Thread Nathan Carter
This may seem like a basic question, but how should I shut down the sage server? And the wiki? That is, I have a script that does this: /path/to/sage-3.2.3/sage start_notebook.sage &# on port 8000 /path/to/sage-3.2.3/sage start_wiki.sage &# on port 9000 and so I run it and log of

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread Mike Hansen
Hello, Sorry to focus on one little question and ignore the big picture, but it's 6:15am :-) > Will the pynac symbolics > take away all my problems, or will I still have to add this > (completely incomprehensible to my students) _fast_float_ thing, and > only that if I am persistent enough to fi

[sage-support] Re: functions in list comprehensions

2009-01-23 Thread kcrisman
> > By the way, Robert -- who answered the previous email -- wrote _fast_float. Yes, I know :) He's too modest. Okay, this helps a lot - this should take care of it, and helps me understand the syntax of both things. Thanks! - kcrisman + Concluding unscientific postscript:

[sage-support] Re: the number of irreducible analytic components at a point

2009-01-23 Thread daveloeffler
Hmm. I'm not a geometer myself, but nobody else seems to have bitten on this one... If CC[[x_1, ..., x_n]] is the local ring of CC^n at the origin, we can try to factorise the defining ideal I of V in this ring. This isn't the same as your ring CC{x_1, ..., x_n} of germs of holomorphic functions,