[sage-support] Re: using the sage notebook

2007-08-06 Thread William Stein
Implementing PDF / latex printing in the notebook is a nontrivial project rather than a quick bugfix, so it won't happen until somebody takes it on as a project or I have a block of time for it. Thanks for continuing to request it. - William (Sent from my iPhone.) On Aug 6, 2007, at 9:42

[sage-support] Re: using the sage notebook

2007-08-06 Thread gani
William; Is there any chance that you will be fixing the print problem also? That would be really useful as it will be a complete notebook with input and output visible as needed in the final print version. gani -- On Aug 6, 2:20 pm, William Stein <[EMAIL PROTECTED]> wrote: > I will very like

[sage-support] Re: Stealth SIGSEGV

2007-08-06 Thread David Joyner
I think it is. I also ran into a strange segfault not long ago but could not reproduce it and was too lazy to report it. It might be the same thing since I vaguely remember doing something similar (a hard calculation followed by something really simple), but don't remember any details. On 8/6/07

[sage-support] Stealth SIGSEGV

2007-08-06 Thread Justin C. Walker
Hi, all, Using sage on sage.math, I kicked off a computation: = sage: time A = InclusionMatrix(T1,T2) CPU times: user 12131.95 s, sys: 90.60 s, total: 1.55 s Wall time: 12221.43 sage: = That seem

[sage-support] Re: Starting out with Notebook

2007-08-06 Thread David
I have just installed SAGE 2.7.2 on an XP_Windows system. The VMplayer starts OK, I type notebook and it gives me 192.168.5.128 as the address to give firefox, which I do, but firefox cannot access that address. What to do? David On Jul 8, 12:18 am, Memo <[EMAIL PROTECTED]> wrote: > I have exac

[sage-support] Re: using the sage notebook

2007-08-06 Thread William Stein
I will very likely be posting a new vmware sage binary tomorrow from my office (I just moved and have no Internet at home). In any case giving the address to the notebook command should work. - William (Sent from my iPhone.) On Aug 6, 2007, at 2:14 PM, David Stahl <[EMAIL PROTECTED]> wrote:

[sage-support] Re: using the sage notebook

2007-08-06 Thread William Stein
You have to do notebook( address = "the ip address of the vmware machine") - William (Sent from my iPhone.) On Aug 6, 2007, at 12:47 PM, "David Joyner" <[EMAIL PROTECTED]> wrote: > > This has come up on the list before. I think the response was to > start the notebook not from sage but using

[sage-support] Re: using the sage notebook

2007-08-06 Thread David Stahl
I found William Stein's reply to a similar posting but typing in "notebook" at the sage login prompt does not bring up firefox and it appears to restart and then gives a new login prompt. There is another posting regarding this behavior but it did not lead to a resolution. Any ideas would be app

[sage-support] Re: Fwd: error while compiling sage

2007-08-06 Thread David Joyner
What does slam64 mean? Suse Linux amd 64? What version of sage were you trying to install? On 8/6/07, William Stein <[EMAIL PROTECTED]> wrote: > > > > - William > > (Sent from my iPhone.) > > Begin forwarded message: > > > From: [EMAIL PROTECTED] > Date: August 6, 2007 12:21:45 PM PDT > To: [EMAI

[sage-support] Fwd: error while compiling sage

2007-08-06 Thread William Stein
- William (Sent from my iPhone.) Begin forwarded message: > From: [EMAIL PROTECTED] > Date: August 6, 2007 12:21:45 PM PDT > To: [EMAIL PROTECTED] > Subject: error while compiling sage > > Compilation failed with "scipy" > > best regards, > > J.-M. Drézet > > > system : linux slamd64 > > from

[sage-support] Re: using the sage notebook

2007-08-06 Thread David Joyner
This has come up on the list before. I think the response was to start the notebook not from sage but using a command called "notebook". I don't use windows or the notebook, so I could be wrong. You can search the archives if this doesn't work. On 8/6

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread Alec Mihailovs
From: "David Joyner" <[EMAIL PROTECTED]> > Here is an example of constructing a Cayley graph in SAGE (this uses > grape): > ... > Question: Can anyone this of a simpler way to do this? Group Explorer displays nice Cayley graphs, http://groupexplorer.sourceforge.net/ I used it teaching algebra

[sage-support] using the sage notebook

2007-08-06 Thread David Stahl
I installed vmware, sage and firefox on my windows 2000 machine. Sage appears to work just fine from the command line but when I type in notebook() I get the error "http://localhost:8000 : No such file or directory". What am I doing wrong? David Stahl --~--~-~--~~~

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread Bobby Moretti
A while ago, I was bored and implemented cayley_graph() on FiniteGroups. It had display issues, but Robert Miller fixed them at SD4. The code _very_ naively constructs the graph by looping over the elements of the group for each generator. An example: sage: G = DihedralGroup(5) sage: C = G.cayl

[sage-support] Save button in the notebook

2007-08-06 Thread Ted Kosan
I am in the process of developing a standard format that typical students can follow when using the Sage notebook. Part of this pattern consists of creating cells which contain only comments, like the description of a problem that is being solved. Since comments are not executable code, a person

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread Jack Schmidt
Yup, but the C = line was missing: gens = [(1,2),(2,3)] G = PermutationGroup(gens)._gap_() C = G.CayleyGraph(G.GeneratorsOfGroup()) E = C.UndirectedEdges() V = C.Vertices().Elements() L = [sum([[y[i] for y in [x for x in E if v in x] if y[i]!=v] for i in range(1,len(gens)+1)],[]) for v in V] d =

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread David Joyner
Thanks very much Jack. I think the following code works generally, doesn't it? sage: gens = [(1,2),(2,3)] sage: G = PermutationGroup(gens)._gap_() sage: E = C.UndirectedEdges() sage: V = C.Vertices().Elements() sage: L = [sum([[y[i] for y in [x for x in E if v in x] if y[i]!=v] for i in range(1,l

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread Jack Schmidt
The gap.eval's can be removed like this: C3 = CyclicPermutationGroup(3)._gap_() C = C3.CayleyGraph(C3.GeneratorsOfGroup()) V = C.Vertices().Elements() E = C.UndirectedEdges() L = [[y[1] for y in [x for x in E if v in x] if y[1]!=v]+[y[2] for y in [x for x in E if v in x] if y[2]!=v] for v in V] d

[sage-support] Re: Cayley graphs in SAGE

2007-08-06 Thread David Joyner
Perhaps to answer my own question, this way is better I think: sage: gens = [(1,2),(2,3)] sage: gap.eval("gens := "+str(gens)) '[ (1,2), (2,3) ]' sage: gap.eval("C := CayleyGraph(Group(gens),gens)") 'rec( isGraph := true, order := 6, \n group := Group([ (1,3)(2,4)(5,6), (1,2)(3,5)(4,6) ]), \n

[sage-support] Cayley graphs in SAGE

2007-08-06 Thread David Joyner
Here is an example of constructing a Cayley graph in SAGE (this uses grape): sage: gap.eval("C := CayleyGraph(Group([(1,2,3)]),[(1,2,3)])") 'rec( isGraph := true, order := 3, group := Group([ (1,2,3) ]), \n schreierVector := [ -1, 1, 1 ], adjacencies := [ [ 2, 3 ] ], \n representatives := [ 1 ],

[sage-support] Re: Failing help on modules

2007-08-06 Thread David Joyner
I can confirm this: sage: help() Welcome to Python 2.5! This is the online help utility. If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://www.python.org/doc/tut/. Enter the name of any module, keyword, or topic to get help on wri