[sage-support] GAP small groups library missing

2008-01-14 Thread esdc
Hi all, I was trying to run a GAP session inside sage, with gap_console() and when the Smallgroups library is needed, I obtain an error: Error, the Small Groups library is required but not installed called from ( ) called from read-eval-loop Entering break read-eval-print loop ... you can 'quit;

[sage-support] Re: Sage classroom server using vmware

2008-01-14 Thread William Stein
On Jan 14, 2008 10:52 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > William Stein wrote: > > On 1/14/08, mabshoff <[EMAIL PROTECTED]> wrote: > >> Hi Jason, > >> > >> On Jan 14, 6:51 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > >>> I'd like to set up a sage notebook for my class to use. At the AM

[sage-support] Re: associativity of addition on ell. curves

2008-01-14 Thread David Harvey
On Jan 14, 2008, at 10:09 PM, Carl Witty wrote: > Here is a more idiomatic way to do this computation in Sage. We work > in the fraction field of a multivariate polynomial ring; this means > that our polynomial arithmetic is handled by libSingular instead of by > maxima, and that we can get the

[sage-support] Re: associativity of addition on ell. curves

2008-01-14 Thread Carl Witty
On Jan 11, 3:09 pm, Paul Zimmermann <[EMAIL PROTECTED]> wrote: > I was able to do the job with SAGE, but I have to confess it was not as easy > as in Maple (however I am still more fluent in Maple): > > -- > | SAGE Version 2.9.3,

[sage-support] Re: Problem with MacOS install

2008-01-14 Thread dpvc
> Thanks for posting!  Are you the author of jsmath? Yes, I am he. > Anyway, I meant that there isn't an easy way currently in Sage. > Certainly jsmath itself offers this option. Sorry, I didn't write carefully enough. I meant to say jsMath has the ability (not sage), and that it could be adde

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread Mike Hansen
Hi Kiran, Adding good Lie algebra support to Sage has been something on my list for awhile. I just made it out here to Berkeley and am going to be here all semester for the program at MSRI. I was that you were registered for the workshop next week. What time do you get in? We can discuss thing

[sage-support] Re: How many times should you shuffle a deck of cards?

2008-01-14 Thread Greg Marks
Dear Peter, I must confess, with apologies, that I am an expert in neither statistics nor SAGE, and that I have not fully understood your code (or, for that matter, "New Age Solitaire"). But I suspect there is an error in your computation showing that "seven shuffles are insufficient." The clai

[sage-support] Re: Sage classroom server using vmware

2008-01-14 Thread Jason Grout
William Stein wrote: > On 1/14/08, mabshoff <[EMAIL PROTECTED]> wrote: >> Hi Jason, >> >> On Jan 14, 6:51 pm, Jason Grout <[EMAIL PROTECTED]> wrote: >>> I'd like to set up a sage notebook for my class to use. At the AMS >>> meetings, William mentioned that the easiest way to do this was to use >>

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread David Joyner
On Jan 14, 2008 9:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does SAGE currently include any functionality for manipulating Lie > algebras? (I only need reductive Lie algebras, because I'm using them > to study compact Lie groups.) For instance, I'd like to be able to > manipulate irr

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread mabshoff
On Jan 14, 7:09 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Hi, > I just looked at the GAP docs, and I don't quite see how to do what I > want (decomposing some random thing into irreducibles, or at least > getting the multiplicity of the trivial representation), but I'm sure > it's pos

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread [EMAIL PROTECTED]
I just looked at the GAP docs, and I don't quite see how to do what I want (decomposing some random thing into irreducibles, or at least getting the multiplicity of the trivial representation), but I'm sure it's possible. What I do know is that Magma has some of this functionality, implemented in

[sage-support] Re: Sage classroom server using vmware

2008-01-14 Thread William Stein
On 1/14/08, mabshoff <[EMAIL PROTECTED]> wrote: > > Hi Jason, > > On Jan 14, 6:51 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > > I'd like to set up a sage notebook for my class to use. At the AMS > > meetings, William mentioned that the easiest way to do this was to use > > the vmware appliance t

[sage-support] Re: Sage classroom server using vmware

2008-01-14 Thread mabshoff
Hi Jason, On Jan 14, 6:51 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > I'd like to set up a sage notebook for my class to use. At the AMS > meetings, William mentioned that the easiest way to do this was to use > the vmware appliance to run the notebook (even if I plan to run the > appliance und

[sage-support] Sage classroom server using vmware

2008-01-14 Thread Jason Grout
I'd like to set up a sage notebook for my class to use. At the AMS meetings, William mentioned that the easiest way to do this was to use the vmware appliance to run the notebook (even if I plan to run the appliance under linux). I presume the reasons have to do with security. I have the v

[sage-support] Re: Sage LAN server

2008-01-14 Thread William Stein
On 1/14/08, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > I am facing a similar problem, and I am not sure how to handle it. It > would be nice to be able to create/destroy accounts for a notebook on > the command line. Eventually I would like to provide sage servers for > hundreds of student

[sage-support] Re: Sage LAN server

2008-01-14 Thread Marshall Hampton
I am facing a similar problem, and I am not sure how to handle it. It would be nice to be able to create/destroy accounts for a notebook on the command line. Eventually I would like to provide sage servers for hundreds of students, and it has to be easier to administrate than it is currently.

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-14 Thread mabshoff
On Jan 14, 6:17 pm, "Luis Finotti" <[EMAIL PROTECTED]> wrote: > Dear Michael, > > On Jan 14, 2008 11:58 AM, mabshoff > > <[EMAIL PROTECTED]> wrote: > > (...) > > > > But, so far, I haven't had any problems while running my old stuff... > > > The doctest that fails communicates with another Sage

[sage-support] Re: Problem with MacOS install

2008-01-14 Thread William Stein
On 1/14/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Unfortunately, I don't think there is currently support for turning ofjsmath > > globally in Sage. > > Actually, there is: there is a noGlobal.js plugin that you can use to > disable the global mode if you are using it in a context wh

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-14 Thread Luis Finotti
Dear Michael, On Jan 14, 2008 11:58 AM, mabshoff <[EMAIL PROTECTED]> wrote: (...) > > But, so far, I haven't had any problems while running my old stuff... > > The doctest that fails communicates with another Sage instance. I have > seen this fail on occasion with systems with low memory. Since

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-14 Thread mabshoff
On Jan 13, 12:01 am, "Luis Finotti" <[EMAIL PROTECTED]> wrote: > Dear Michael (and Ted, and all), > > Thanks for your reply! > > On Jan 11, 2008 10:56 AM, mabshoff > > > > <[EMAIL PROTECTED]> wrote: > > > Here is the error: > > > > -- > > > **

[sage-support] Re: Problem with MacOS install

2008-01-14 Thread [EMAIL PROTECTED]
> Unfortunately, I don't think there is currently support for turning ofjsmath > globally in Sage. Actually, there is: there is a noGlobal.js plugin that you can use to disable the global mode if you are using it in a context where global mode doesn't work. I don't know how sage loads jsMath, b

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread William Stein
On Jan 14, 2008 7:23 AM, Jaap Spies <[EMAIL PROTECTED]> wrote: > > William Stein wrote: > > On 1/14/08, John Cremona <[EMAIL PROTECTED]> wrote: > >> Jaap is right: > >> > >> Compare > >> > > > > I've created and posted a patch here: > > > >http://trac.sagemath.org/sage_trac/ticket/1776 > > > >

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread Jaap Spies
William Stein wrote: > On 1/14/08, John Cremona <[EMAIL PROTECTED]> wrote: >> Jaap is right: >> >> Compare >> > > I've created and posted a patch here: > >http://trac.sagemath.org/sage_trac/ticket/1776 > > Refereeing would be appreciated! > Works for me! -

[sage-support] Re: Sage LAN server

2008-01-14 Thread William Stein
On Jan 14, 2008 1:42 AM, bill purvis <[EMAIL PROTECTED]> wrote: > > On Monday 14 January 2008, William Stein wrote: > > On 1/13/08, bill.p <[EMAIL PROTECTED]> wrote: > > ... > > Just out of curiosity, for your purposes would it be OK for you to > > just make the accounts manually through the noteb

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread William Stein
On 1/14/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does SAGE currently include any functionality for manipulating Lie > algebras? (I only need reductive Lie algebras, because I'm using them > to study compact Lie groups.) I think Sage doesn't include any nontrivial Lie functionality.

[sage-support] Re: Computations with Lie algebras?

2008-01-14 Thread David Joyner
On Jan 14, 2008 9:31 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does SAGE currently include any functionality for manipulating Lie > algebras? (I only need reductive Lie algebras, because I'm using them > to study compact Lie groups.) For instance, I'd like to be able to > manipulate irr

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread William Stein
On 1/14/08, John Cremona <[EMAIL PROTECTED]> wrote: > > Jaap is right: > > Compare > I've created and posted a patch here: http://trac.sagemath.org/sage_trac/ticket/1776 Refereeing would be appreciated! > [EMAIL PROTECTED] > --

[sage-support] Computations with Lie algebras?

2008-01-14 Thread [EMAIL PROTECTED]
Does SAGE currently include any functionality for manipulating Lie algebras? (I only need reductive Lie algebras, because I'm using them to study compact Lie groups.) For instance, I'd like to be able to manipulate irreducibles (encoded by their highest weights), so that I can form a tensor produc

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread William Stein
On 1/14/08, John Cremona <[EMAIL PROTECTED]> wrote: > > Jaap is right: > > Compare Excellent work tracking that down, which I would have never noticed. sage: preparse('f(x) = x') '_=var("x");f=symbolic_expression(x).function(x)' sage: preparse('f(x) =+x') 'f(x) =+x' sage: preparse('f(x) =-x') '

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread John Cremona
Jaap is right: Compare [EMAIL PROTECTED] -- | SAGE Version 2.9.3, Release Date: 2008-01-05 | | Type notebook() for the GUI, and license() for information.| --

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread Jaap Spies
William Stein wrote: > On 1/14/08, Jason Grout <[EMAIL PROTECTED]> wrote: >> I noticed that the following gives an error in Sage 2.9: >> >> sage: f(x)=-x >> >> File "", line 1 >> : can't assign to function call (> console>, line 1)

[sage-support] Re: spkg-install, choosing the right installation path

2008-01-14 Thread William Stein
On 1/14/08, Lars Fischer <[EMAIL PROTECTED]> wrote: > > Thank you very much for your answers, > > I will continue in the proposed direction. [integrating your code into the Sage library] If you get frustrated, please do _not_ hesitate to post to sage-support with questions. We definitely *do* w

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread William Stein
On 1/14/08, Jason Grout <[EMAIL PROTECTED]> wrote: > > John Cremona wrote: > > The problem is surely that the pieces f1a etc are just Python > > lambda-functions, yet the integral() method is being called on each of > > these in the line > > return sum([funcs[i].integral(x,invs[i][0],invs[i][1]) f

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread Jason Grout
John Cremona wrote: > The problem is surely that the pieces f1a etc are just Python > lambda-functions, yet the integral() method is being called on each of > these in the line > return sum([funcs[i].integral(x,invs[i][0],invs[i][1]) for i in range(n)]) > so the problem arises since you are asking

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread John Cremona
The problem is surely that the pieces f1a etc are just Python lambda-functions, yet the integral() method is being called on each of these in the line return sum([funcs[i].integral(x,invs[i][0],invs[i][1]) for i in range(n)]) so the problem arises since you are asking to integrate each funcs[i] bu

[sage-support] Re: [sage-newbie] Re: integration of piecewise-defined functions

2008-01-14 Thread David Joyner
At the moment, (a) "piecewise" is only set up for piecewise polynomials, (b) the "integrate" command is "integral". So, for your function (which is piecewise polynomial), this should work: sage: f1a = lambda x: -x+1; f1b = lambda x: x+1 sage: f2a = lambda x : -(x - 2) - 1; f2b = lambda x : (x - 2

[sage-support] Re: spkg-install, choosing the right installation path

2008-01-14 Thread Lars Fischer
Thank you very much for your answers, I will continue in the proposed direction. With best regards, Lars Fischer --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTE

[sage-support] Re: Sage LAN server

2008-01-14 Thread bill purvis
On Monday 14 January 2008, William Stein wrote: > On 1/13/08, bill.p <[EMAIL PROTECTED]> wrote: > ... > Just out of curiosity, for your purposes would it be OK for you to > just make the accounts manually through the notebook interface? > I.e., just do >sage: notebook(accounts=True) > then cli