[sage-support] Re: solve() fails to produce a solution

2008-08-29 Thread William Stein
On Thu, Aug 28, 2008 at 10:59 PM, mabshoff [EMAIL PROTECTED] wrote: On Aug 28, 10:47 pm, William Stein [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2008 at 8:57 AM, Roger [EMAIL PROTECTED] wrote: solve([x==0, 1-exp(y)==0],x,y) returns the empty set, although (0,0) is an obvious solution.

[sage-support] Re: solve() fails to produce a solution

2008-08-29 Thread Robert Dodier
On 8/28/08, William Stein [EMAIL PROTECTED] wrote: Sage uses Maxima's solve command, and Maxima's solve command is pretty wimpy, and we (Sage developers) intend to write our own new solve command that can deal with more general equations. Go nuts, man. Hope you can write it in Python

[sage-support] Re: solve() fails to produce a solution

2008-08-29 Thread William Stein
On Thu, Aug 28, 2008 at 11:06 PM, Robert Dodier [EMAIL PROTECTED] wrote: On 8/28/08, William Stein [EMAIL PROTECTED] wrote: Sage uses Maxima's solve command, and Maxima's solve command is pretty wimpy, and we (Sage developers) intend to write our own new solve command that can deal with

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Burcin Erocal
On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi, Maple has a really useful feature of inert integrals and derivatives. Basically, the integrals and derivatives show up in the equations, but aren't evaluated until a command to evaluate them is explicitly given. So,

[sage-support] Re: Find_root bug

2008-08-29 Thread Burcin Erocal
On Thu, 28 Aug 2008 13:36:53 -0700 (PDT) kcrisman [EMAIL PROTECTED] wrote: The reciprocal of tangent is not a constant function, but Sage says otherwise. This is now http://trac.sagemath.org/sage_trac/ticket/3980 . (Incidentally, using z(x)=tan(x) also doesn't work, as it yields a

[sage-support] using latex packages

2008-08-29 Thread Maike
Hello again, is there any way to use latex packages within sage? I'd like to write a german text, and that will be a pain if %latex \usepackage{ngerman} doen't work. Maybe I first have to install the package somewhere?? Maike --~--~-~--~~~---~--~~ To post to

[sage-support] Re: using latex packages

2008-08-29 Thread Stan Schymanski
Hi Maike, Have you heard of sagetex? This allows sage computations as part of the compilation of a latex file. From my experience, this is not very good for interactive work because all the code within the latex file is compiled every time you run sage over your document, but it's great for

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread David Joyner
On Fri, Aug 29, 2008 at 3:07 AM, Burcin Erocal [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi, Maple has a really useful feature of inert integrals and derivatives. Basically, the integrals and derivatives show up in the equations, but

[sage-support] Re: using latex packages

2008-08-29 Thread William Stein
On Fri, Aug 29, 2008 at 1:22 AM, Maike [EMAIL PROTECTED] wrote: Hello again, is there any way to use latex packages within sage? I'd like to write a german text, and that will be a pain if %latex \usepackage{ngerman} doen't work. Maybe I first have to install the package somewhere??

[sage-support] Re: saving as C code?

2008-08-29 Thread Martin Albrecht
For various objects and various software systems (like mathematica, magma, maxima, etc.), we have a _mathematica_init_, _magma_init_, etc, which convert an expression into syntax for the target system. A lot of these are defined in calculus.py for converting symbolic expressions to syntax

[sage-support] Re: using latex packages

2008-08-29 Thread Maike
Hi William, That sounds great to me. As long as it'll allow me to load the ngerman package in the notebook version of Sage, that'll do. Thanks! Maike P.S. And thanks Stan for the hint! I didn't know sagetex. As I'm using the notebook to combine latex typesetting with the interact functionality

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread David Joyner
On Fri, Aug 29, 2008 at 6:24 AM, William Stein [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 2:46 AM, David Joyner [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 3:07 AM, Burcin Erocal [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi,

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Tim Lahey
On Aug 29, 2008, at 6:24 AM, William Stein wrote: On Fri, Aug 29, 2008 at 2:46 AM, David Joyner [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 3:07 AM, Burcin Erocal [EMAIL PROTECTED] wrote: This is not supported in Sage at the moment, but it is definitely planned. It should be

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Robert Bradshaw
On Aug 29, 2008, at 4:53 AM, Tim Lahey wrote: On Aug 29, 2008, at 6:24 AM, William Stein wrote: On Fri, Aug 29, 2008 at 2:46 AM, David Joyner [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 3:07 AM, Burcin Erocal [EMAIL PROTECTED] wrote: This is not supported in Sage at the

[sage-support] Re: Hall-Senior number vs. Small Groups library

2008-08-29 Thread David Joyner
On Fri, Aug 29, 2008 at 7:56 AM, Simon King [EMAIL PROTECTED] wrote: Dear all, finite 2-groups of appropriate size can be identified either by their number in the Small Groups library or by their Hall-Senior number. The Small Groups library is an optional part of Sage (via gap). But is

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread David Joyner
On Fri, Aug 29, 2008 at 8:01 AM, Robert Bradshaw [EMAIL PROTECTED] wrote: ... I like the concept, though I'm also -1 on the capital/lowercase syntax. Perhaps integral could take an extra argument, so one would have sage: integral(x,x,0,1) 1/2 sage: Integral(x,x,0,1, evaluate=False)

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Jason Merrill
On Aug 29, 3:07 am, Burcin Erocal [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi, Maple has a really useful feature of inert integrals and derivatives. Basically, the integrals and derivatives show up in the equations, but aren't

[sage-support] Re: Hall-Senior number vs. Small Groups library

2008-08-29 Thread Simon King
Hi David! On Aug 29, 2:11 pm, David Joyner [EMAIL PROTECTED] wrote: I doubt it - I've never even heard of the Hall-Senior number. See: Hall, Marshall, Jr.; Senior, James K. The groups of order 2n (n ≤ 6). The Macmillan Co., New York; Collier-Macmillan, Ltd., London 1964 225 pp. How hard

[sage-support] Re: solve() fails to produce a solution

2008-08-29 Thread Jason Grout
William Stein wrote: On Thu, Aug 28, 2008 at 11:06 PM, Robert Dodier [EMAIL PROTECTED] wrote: On 8/28/08, William Stein [EMAIL PROTECTED] wrote: Sage uses Maxima's solve command, and Maxima's solve command is pretty wimpy, and we (Sage developers) intend to write our own new solve

[sage-support] Re: solve() fails to produce a solution

2008-08-29 Thread Jason Grout
Jason Grout wrote: William Stein wrote: On Thu, Aug 28, 2008 at 11:06 PM, Robert Dodier [EMAIL PROTECTED] wrote: On 8/28/08, William Stein [EMAIL PROTECTED] wrote: Sage uses Maxima's solve command, and Maxima's solve command is pretty wimpy, and we (Sage developers) intend to write our

[sage-support] Re: saving as C code?

2008-08-29 Thread Jason Grout
Martin Albrecht wrote: For various objects and various software systems (like mathematica, magma, maxima, etc.), we have a _mathematica_init_, _magma_init_, etc, which convert an expression into syntax for the target system. A lot of these are defined in calculus.py for converting symbolic

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Jason Grout
Jason Merrill wrote: On Aug 29, 3:07 am, Burcin Erocal [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi, Maple has a really useful feature of inert integrals and derivatives. Basically, the integrals and derivatives show up in the

[sage-support] Re: saving as C code?

2008-08-29 Thread Martin Albrecht
On Friday 29 August 2008, Jason Grout wrote: Martin Albrecht wrote: For various objects and various software systems (like mathematica, magma, maxima, etc.), we have a _mathematica_init_, _magma_init_, etc, which convert an expression into syntax for the target system. A lot of these

[sage-support] Re: [GAP Forum] GAP console frozen

2008-08-29 Thread David Joyner
Let me get this straight. Please correct me if I am wrong. You sarted GAP within Sage (using sage -gap?) and then started a long computation, whcih caused you to run out of memory. Then GAP and Sage froze, so you rebooted and restarted Sage. (Since you rebooted, I guess you are using windows?)

[sage-support] Re: [GAP Forum] GAP console frozen

2008-08-29 Thread William Stein
On Fri, Aug 29, 2008 at 8:53 AM, David Joyner [EMAIL PROTECTED] wrote: Let me get this straight. Please correct me if I am wrong. You sarted GAP within Sage (using sage -gap?) and then started a long computation, whcih caused you to run out of memory. Then GAP and Sage froze, so you

[sage-support] Re: saving as C code?

2008-08-29 Thread Jason Grout
Martin Albrecht wrote: On Friday 29 August 2008, Jason Grout wrote: Martin Albrecht wrote: We could have _c_NTL_init_ or _c_blas_init_, etc., for variants if people want. Another thought is to pass options to the systems, like _c_init_('blas','NTL','singular'). That looks like an

[sage-support] Re: failed to download cddlib-094b.p1

2008-08-29 Thread mabshoff
On Aug 29, 7:33 am, Thierry Dumont [EMAIL PROTECTED] wrote: Trying to install polymake in sage 3.1, I got the message: Hi Thierry, this is a known issue and I have a fixed spkg-install that should once and for all resolve the issue. We are tracking this at #3640 and I need to put up a spkg

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-29 Thread Robert Bradshaw
On Fri, 29 Aug 2008, Jason Grout wrote: Jason Merrill wrote: On Aug 29, 3:07 am, Burcin Erocal [EMAIL PROTECTED] wrote: On Thu, 28 Aug 2008 15:28:03 -0400 Tim Lahey [EMAIL PROTECTED] wrote: Hi, Maple has a really useful feature of inert integrals and derivatives. Basically, the

[sage-support] Re: saving as C code?

2008-08-29 Thread Robert Bradshaw
On Fri, 29 Aug 2008, Martin Albrecht wrote: On Friday 29 August 2008, Jason Grout wrote: Martin Albrecht wrote: For various objects and various software systems (like mathematica, magma, maxima, etc.), we have a _mathematica_init_, _magma_init_, etc, which convert an expression into syntax

[sage-support] Re: convert string to sage expression

2008-08-29 Thread Mike Hansen
Hello, On Fri, Aug 29, 2008 at 4:00 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to construct a set of equations using strings. For example: for i in range(0,10): eq1=eq=x^+str(i)+-+str(i) Is there a reason why you wanted to do it using strings? It's a bit cleaner/easier to do it

[sage-support] Re: convert string to sage expression

2008-08-29 Thread Simon King
Hi Geir, If you really want to use strings, it may work like that: sage: var('x y') (x, y) sage: EqL=['y==x**%d-%d'%(i,i) for i in range(10)] sage: for X in EqL: : print X : print solve(eval(X)) : y==x**0-0 [ y == 1 ] y==x**1-1 [