[sage-support] Re: sage tutorial on amazon

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 2:17 PM, David Joyner wrote: > > Finally!! > The process is over and the new tutorial should be on sale at amazon within > 15 days. BTW, I think Sage earns a little more of a royalty if the book is > ordered directly from createspace.com, but not much. > > I had to create

[sage-support] Re: Make backup of worksheets?

2009-04-15 Thread Greg Marks
> What is the easiest way to move a large number of worksheets (~100) to > another machine? > > Or to ask the question another way, how do you guys make backup copies > of your work? I have a subdirectory called "Backups" in my home directory and run the following bash shell command (actually, it

[sage-support] Re: Problem Sage 3.4 windows XP

2009-04-15 Thread madison . michael
I just tried increasing my virtual memory (swap) from 3.048 GB to 6.096 GB and than did not help. I also tried increasing my vmplayer memory from 512 MB to 788 MB and 1776 MB and this did not fix the problem. Again, I have a 1.4 GHz with 1 GB of ram on windows XP. I still have not been able to

[sage-support] Re: sage tutorial on amazon

2009-04-15 Thread David Joyner
Finally!! The process is over and the new tutorial should be on sale at amazon within 15 days. BTW, I think Sage earns a little more of a royalty if the book is ordered directly from createspace.com, but not much. I had to create a cover using the "easy" option, so it is a different looking book.

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 2:36 PM, Robert Bradshaw wrote: > sage: G = AlternatingGroup(5) sage: g = G.random_element() sage: CCg = Set([x*g*x^(-1) for x in G]) >>> >>> Thanks for your answer, >>> >>> I was thinking more about getting all the conjugacy classes in a list >>> (or

[sage-support] Re: A simple question about solve()

2009-04-15 Thread Nasser Abbasi
On Apr 15, 3:34 am, Diravan wrote: > I need to solve a very simple equation x^2 + 1 = 0 and I don't want > any complex solutions. > I tried this > x = var('x') > assume(x,'real') > solve(x^2 + 1 == 0) > but the output is [x == -1*I, x == I] > Does exist any solution in order to avoid this ? T

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread Robert Bradshaw
On Apr 15, 2009, at 8:07 AM, David Joyner wrote: > On Wed, Apr 15, 2009 at 10:54 AM, javier wrote: >> >> On Apr 15, 3:26 pm, David Joyner wrote: >>> I'm not sure what you mean by better way. Is this what you want? >>> >>> sage: G = AlternatingGroup(5) >>> sage: g = G.random_element() >>> sage:

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 11:09 AM, davidloeffler wrote: > >> > Well, B[3] is f(q^4) where f is the form that Steve Finch is after. >> > His form is some linear combination of B[0], B[1] and B[3]. But we >> > don't have any nice way of identifying the level 4 things as a >> > subspace of the level

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 11:34 AM, Steve Finch wrote: > > Hi William & David, > > Thank you for your help!  From: > > http://magma.maths.usyd.edu.au/magma/htmlhelp/text1447.htm#14693 > > I see that Magma (to which I do not have access) > can answer my first question with something like: > > Basis(

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread davidloeffler
> > Well, B[3] is f(q^4) where f is the form that Steve Finch is after. > > His form is some linear combination of B[0], B[1] and B[3]. But we > > don't have any nice way of identifying the level 4 things as a > > subspace of the level 16 things; it's more or less just luck that the > > fourth ech

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread Steve Finch
Hi William & David, Thank you for your help! From: http://magma.maths.usyd.edu.au/magma/htmlhelp/text1447.htm#14693 I see that Magma (to which I do not have access) can answer my first question with something like: Basis(CuspidalSubspace(HalfIntegralWeightForms(4,9/2))); and can answer my se

[sage-support] Re: Sage notebook and R

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 11:09 AM, giovanni.marche...@ds.unifi.it wrote: > > Dynamic Sage notebooks are really amazing. > > I'm also an R user and I would like very much > to use sage to create notebooks with statistical examples > in R .  Is this possible? > > By the way , I thought it was allowe

[sage-support] Sage notebook and R

2009-04-15 Thread giovanni.marche...@ds.unifi.it
Dynamic Sage notebooks are really amazing. I'm also an R user and I would like very much to use sage to create notebooks with statistical examples in R . Is this possible? By the way , I thought it was allowed to execute R code within an R notebook. However I tried to change the interpreter to

[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 10:56 AM, William Stein wrote: > On Wed, Apr 15, 2009 at 10:37 AM, Jose Guzman wrote: >> >> William Stein wrote: >>> 2009/4/15 William Stein : >>> 2009/4/15 Jose Guzman : > Hi there > > I am trying to teach some simple principles of single compartmen

[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 10:37 AM, Jose Guzman wrote: > > William Stein wrote: >> 2009/4/15 William Stein : >> >>> 2009/4/15 Jose Guzman : >>> Hi there I am trying to teach some simple principles of single compartment models with sage and I plotted a couple of exponential equat

[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread Jose Guzman
William Stein wrote: > 2009/4/15 William Stein : > >> 2009/4/15 Jose Guzman : >> >>> Hi there >>> >>> I am trying to teach some simple principles of single compartment models >>> with sage and I plotted a couple of exponential equations in my notebook. >>> >>> Although I got a nice x-axis

[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread William Stein
2009/4/15 William Stein : > > > 2009/4/15 Jose Guzman : >> >> Hi there >> >> I am trying to teach some simple principles of single compartment models >> with sage and I plotted a couple of exponential equations in my notebook. >> >> Although I got a nice x-axis () and other labels and similar thin

[sage-support] Re: Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread William Stein
2009/4/15 Jose Guzman : > > Hi there > > I am trying to teach some simple principles of single compartment models > with sage and I plotted a couple of exponential equations in my notebook. > > Although I got a nice x-axis () and other labels and similar things, I > cannot find a way to plot the y

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 9:01 AM, davidloeffler wrote: > > On Apr 15, 4:52 pm, William Stein wrote: >> On Wed, Apr 15, 2009 at 6:20 AM, Steve Finch wrote: >> >> > I suspect that these are simple questions, but need help getting >> > started.  Thank you! >> >> > How do I exhibit coefficients of t

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread davidloeffler
On Apr 15, 4:52 pm, William Stein wrote: > On Wed, Apr 15, 2009 at 6:20 AM, Steve Finch wrote: > > > I suspect that these are simple questions, but need help getting > > started.  Thank you! > > > How do I exhibit coefficients of the unique cusp form of weight 9/2, > > level 4 and trivial charac

[sage-support] Re: modular forms of half-integer weight

2009-04-15 Thread William Stein
On Wed, Apr 15, 2009 at 6:20 AM, Steve Finch wrote: > > I suspect that these are simple questions, but need help getting > started.  Thank you! > > How do I exhibit coefficients of the unique cusp form of weight 9/2, > level 4 and trivial character? > (The coefficients should be 1, -6, 12, -8, 0,

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 10:54 AM, javier wrote: > > On Apr 15, 3:26 pm, David Joyner wrote: >> I'm not sure what you mean by better way. Is this what you want? >> >> sage: G = AlternatingGroup(5) >> sage: g = G.random_element() >> sage: CCg = Set([x*g*x^(-1) for x in G]) > > Thanks for your answ

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread javier
On Apr 15, 3:26 pm, David Joyner wrote: > I'm not sure what you mean by better way. Is this what you want? > > sage: G = AlternatingGroup(5) > sage: g = G.random_element() > sage: CCg = Set([x*g*x^(-1) for x in G]) Thanks for your answer, I was thinking more about getting all the conjugacy clas

[sage-support] Re: Conjugacy classes in groups

2009-04-15 Thread David Joyner
On Wed, Apr 15, 2009 at 10:21 AM, javier wrote: > > Hi there, > > just started using SAGE for some research related stuff a couple of > weeks ago. Is there a way to get the conjugacy classes of a group, in > the same way as GAP does? I don't quite mean neither > "conjugacy_classes_subgroups" (whi

[sage-support] Conjugacy classes in groups

2009-04-15 Thread javier
Hi there, just started using SAGE for some research related stuff a couple of weeks ago. Is there a way to get the conjugacy classes of a group, in the same way as GAP does? I don't quite mean neither "conjugacy_classes_subgroups" (which returns conjugacy classes of subgroups, not of elements) no

[sage-support] modular forms of half-integer weight

2009-04-15 Thread Steve Finch
I suspect that these are simple questions, but need help getting started. Thank you! How do I exhibit coefficients of the unique cusp form of weight 9/2, level 4 and trivial character? (The coefficients should be 1, -6, 12, -8, 0, 12, -48, 48, -15, ...) How do I compute the dimension of the spa

[sage-support] Re: A simple question about solve()

2009-04-15 Thread Robert Bradshaw
On Apr 15, 2009, at 3:34 AM, Diravan wrote: > > I need to solve a very simple equation x^2 + 1 = 0 and I don't want > any complex solutions. > I tried this > x = var('x') > assume(x,'real') > solve(x^2 + 1 == 0) > but the output is [x == -1*I, x == I] > Does exist any solution in order to avoid t

[sage-support] Re: very basic sage question on objects and methods

2009-04-15 Thread Lars Fischer
Hello, > This would be a great question to ask Guido (inventor of Python)--we > get it from there. a similar question is answered in the Python FAQ: http://www.python.org/doc/faq/general/#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list "4.7

[sage-support] A simple question about solve()

2009-04-15 Thread Diravan
I need to solve a very simple equation x^2 + 1 = 0 and I don't want any complex solutions. I tried this x = var('x') assume(x,'real') solve(x^2 + 1 == 0) but the output is [x == -1*I, x == I] Does exist any solution in order to avoid this ? --~--~-~--~~~---~--~~ To

[sage-support] Re: Problem Sage 3.4 windows XP

2009-04-15 Thread Nasser Abbasi
On Mar 18, 1:33 pm, William Stein wrote: > On Wed, Mar 18, 2009 at 1:22 PM,   wrote: > > > I am also having a problem running Sage 3.4 on windows XP.   Vmware > > starts up, but when I run the notebook command it flashes the IP > > Just out of curiosity, has *anybody* successfully used > sage-v

[sage-support] Plot a vertical label in the y axis and LaTeX typesetting.

2009-04-15 Thread Jose Guzman
Hi there I am trying to teach some simple principles of single compartment models with sage and I plotted a couple of exponential equations in my notebook. Although I got a nice x-axis () and other labels and similar things, I cannot find a way to plot the y-axis in the vertical axis. Is there