[sage-support] Re: Function assume() has no effect on Maxima via desolve()

2010-09-23 Thread Burcin Erocal
On Wed, 22 Sep 2010 18:52:32 -0700 (PDT) lutusp lut...@gmail.com wrote: The patch by Robert Marik attached to #9835 solves the problem you show below. Applied the indicated patch, same outcome: reset() var('g t') x = function('x',t) forget() assume(g 0) de = x - g * diff(x,t,2)

[sage-support] Exclusive-or of hexadecimal strings?

2010-09-23 Thread Alasdair
Suppose I define h1 = '2bd5427c' h2 = '65ef24ab' Then I can obtain their exclusive-or by first converting to an integer, and back again after: hex(ZZ(h1,16)^^ZZ(h2,16)) which produces the correct value '4e3a66d7' Is there a more direct way? In python, the operator ^ is supposed to implement

Re: [sage-support] Exclusive-or of hexadecimal strings?

2010-09-23 Thread Minh Nguyen
Hi Alasdair, On Thu, Sep 23, 2010 at 11:40 PM, Alasdair amc...@gmail.com wrote: Is there a more direct way?  In python, the operator ^ is supposed to implement x-or on strings, but of course in Sage that operator is recognized as an exponential, and so gives an error. You could try turning

[sage-support] Wrapping C++

2010-09-23 Thread Bruce
I have a C++ function I want to call from sage. I have attempted to follow the example in http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html This was unsuccessful. The C++ class is not recognised. The problem seems to be that this is Cython v0.13 whereas sage 4.5.2 (which I am using)

[sage-support] Problems with chromium (and firefox)

2010-09-23 Thread Julius
Hi, For some reason I don't know the output of the help pages (like the tutorial) have tiny scroll boxes around. I am using chromium. With firefox there is not such problem, but the reference manual hangs it. What am I doing wrong? Antonio -- To post to this group, send email to

Re: [sage-support] Exclusive-or of hexadecimal strings?

2010-09-23 Thread Minh Nguyen
Hi Alasdair, On Thu, Sep 23, 2010 at 11:40 PM, Alasdair amc...@gmail.com wrote: Is there a more direct way?  In python, the operator ^ is supposed to implement x-or on strings, but of course in Sage that operator is recognized as an exponential, and so gives an error. Maybe fiddling with the

[sage-support] Re: integral

2010-09-23 Thread sps
And why is it? I do an assignement but it doesn't accept it: TypeError: Computation failed since Maxima requested additional constraints (try the command 'assume((a-1)*(a+1)0)' before integral or limit evaluation, for example): Is (a-1)*(a+1) positive, negative, or zero? sage:

Re: [sage-support] Wrapping C++

2010-09-23 Thread Robert Bradshaw
On Thu, Sep 23, 2010 at 6:57 AM, Bruce brucewestb...@gmail.com wrote: I have a C++ function I want to call from sage. I have attempted to follow the example in http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html This was unsuccessful. The C++ class is not recognised. The problem

[sage-support] Re: integral

2010-09-23 Thread kcrisman
On Sep 23, 1:37 pm, sps debernasave...@libero.it wrote: And why is it? I do an assignement but it doesn't accept it: TypeError: Computation failed since Maxima requested additional constraints (try the command 'assume((a-1)*(a+1)0)' before integral or limit evaluation, for example): Is  

[sage-support] Re: integral

2010-09-23 Thread sps
So sometimes even if you *do* have assumptions working properly, there are so many paths in the decision tree that it would be very hard to do this sort of thing.  I hope that helps you - I guess to me that is one thing that makes math interesting! - kcrisman Yes, it is what makes math

[sage-support] default browser for notebook

2010-09-23 Thread Johannes
hi list, how can i change the browser, which is started after i started sage notebook by `sage -notebook` I want to use firefox, but i always get a new instance of konquer. greatz Johannes -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

Re: [sage-support] default browser for notebook

2010-09-23 Thread Minh Nguyen
Hi Johannes, On Fri, Sep 24, 2010 at 5:47 AM, Johannes dajo.m...@web.de wrote: hi list, how can i change the browser, which is started after i started sage notebook by `sage -notebook` I want to use firefox, but i always get a new instance of konquer. You could set the Sage environment

[sage-support] Re: integral

2010-09-23 Thread kcrisman
On Sep 23, 3:32 pm, sps debernasave...@libero.it wrote: So sometimes even if you *do* have assumptions working properly, there are so many paths in the decision tree that it would be very hard to do this sort of thing.  I hope that helps you - I guess to me that is one thing that makes