[sage-support] find_root reports zeroes of denominator as roots

2009-03-15 Thread yacob
f(x)=1/x r1=find_root(f,-1,1);r1 -1.8189894035440371e-12 --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this g

[sage-support] Re: Making pylab.plot() and pylab.show() in Sage

2009-03-15 Thread linuxgus
Thanks to all of you for responding. This thread brings up another interesting question: How can I actually tell sage to save the graphics image to a separate file, in addition to displaying it? TIA for your response. Gus --~--~-~--~~~---~--~~ To post to this g

[sage-support] Re: Sage binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor

2009-03-15 Thread Johan Oudinet
On Thu, Feb 26, 2009 at 4:08 PM, mabshoff wrote: > > Some more update: "-p" is at fault here, but that startup option isn't > documented in the GAP help, so I have started looking at the source > code what it is exactly supposed to do. > > Either way, if you look at interfaces/gap.py in > >  def

[sage-support] Unitary groups on finite fields

2009-03-15 Thread Martin Mereb
in the notebook of sagenb.org I have just typed n=2;q=9; G = GU(n,q); H = SL(n,q^2); Z=H.center(); z=Z.gen(0) z in G True G(z) Traceback (most recent call last): File "", line 1, in File "/home/sage/sagenb/sage_notebook/worksheets/Tincho/3/code/45.py", line 6, in G(z) File "/home

[sage-support] Special linear group on finite field

2009-03-15 Thread Martin Mereb
and also got this problem n=3;q=4; H = SL(n,q^2); H.center() Traceback (most recent call last): File "", line 1, in File "/home/sage/sagenb/sage_notebook/worksheets/Tincho/3/code/3.py", line 10, in H.center() File "/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/SQ

[sage-support] ANN: OpenOpt 0.23 - free numerical optimization framework

2009-03-15 Thread dmitrey
Hi all, OpenOpt 0.23, a free Python-written numerical optimization framework (license: BSD) with some own solvers and connections to tens of 3rd party ones, has been released. Our new homepage: http://openopt.org Introduction to the framework: http://openopt.org/Foreword All release details her

[sage-support] Re: Special linear group on finite field

2009-03-15 Thread David Joyner
This doesn't seem to happen for smaller values, sage: n = 2; q = 3 sage: H = PSL(n,q^2) sage: H.center() Permutation Group with generators [()] sage: n = 2; q = 2 sage: H = PSL(n,q^2) sage: H.center() Permutation Group with generators [()] so maybe the problem is related to http://trac.sagemath.

[sage-support] Re: Special linear group on finite field

2009-03-15 Thread Alex Ghitza
Judging from the error message "unable to coerce from a finite field other than the prime subfield", it seems that in Martin's examples a coercion is attempted from GF(p^a) to GF(p^b) where a>1. In David's example, the larger field is GF(3^2) so any coercion would be coming from GF(3), hence not c

[sage-support] Operator precedence.

2009-03-15 Thread Jose Guzman
something strange happened to me today, if I try In [1]: 6*21/18-2^3 Out[1]: 6 However, if I try the following In [2]: 6*21/18-2**3 Out[2]: -1 then the normal operator precedence (parenthesis, exponential, multilplication-division-remainder, addition-subtraction) occurs. Does anybody have a

[sage-support] Re: Small problem with limit()

2009-03-15 Thread Jose Guzman
Dear Willian, thank you very much for your assitance with the worksheet. Now my worksheets look much nicer! all the best Jose William Stein wrote: > On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote: > >> Dear colleagues, >> >> I've just discovered this wonderful thing called Sage (I am

[sage-support] Re: Operator precedence.

2009-03-15 Thread Mike Hansen
Hello, On Sun, Mar 15, 2009 at 2:48 PM, Jose Guzman wrote: > > something strange happened to me today, if I try > > In [1]: 6*21/18-2^3 > Out[1]: 6 > > However, if I try the following > > In [2]: 6*21/18-2**3 > Out[2]: -1 > > then the normal operator precedence (parenthesis, exponential, > multi

[sage-support] Re: Operator precedence.

2009-03-15 Thread Jose Guzman
hello Mike thank you very much for your information, I've looking for a solution the whole evening, I did not notice that the ^ is of course the XOR operator Mike Hansen wrote: > Hello, > > On Sun, Mar 15, 2009 at 2:48 PM, Jose Guzman wrote: > >> something strange happened to me today,

[sage-support] Re: Special linear group on finite field

2009-03-15 Thread Craig Citro
> So I don't think it has to do with trac #5491.  It is either a problem with > Sage finite fields, or with translating between Gap finite fields and Sage > finite fields.  I'll have a closer look later today and open a ticket. > Indeed, we just don't have the ability to coerce between GF(p^a) an

[sage-support] Re: Special linear group on finite field

2009-03-15 Thread Martin Mereb
thanks! I thought it was related to the fact that the size is not a prime I didn't get that sort of troubles with a similar code for prime sizes On Sun, Mar 15, 2009 at 2:34 PM, Alex Ghitza wrote: > Judging from the error message "unable to coerce from a finite field other > than the prime subfi

[sage-support] using sage libraries in python script: QQ and rational_field.py

2009-03-15 Thread bjrnfrdnnd
Hi, I have installed sage 3.4 from source. I want to use sage in my python scripts, particularly the linear algebra part. I therefore want to write little python scripts with something like m=matrix([[1,2],[3,4]]) e=m.eigenvalues() My only problem is: what should I import in order to make this k

[sage-support] Re: using sage libraries in python script: QQ and rational_field.py

2009-03-15 Thread William Stein
On Sun, Mar 15, 2009 at 4:00 PM, bjrnfrdnnd wrote: > > Hi, > I have installed sage 3.4 from source. > I want to use sage in my python scripts, particularly the linear > algebra part. > I therefore want to write little python scripts with something like > > m=matrix([[1,2],[3,4]]) > e=m.eigenvalue

[sage-support] Re: Cannot copy on OSX

2009-03-15 Thread Jim Clark
On Mar 14, 2009, at 4:52 PM, mabshoff wrote: > > On Mar 13, 11:30 am, Carl Witty wrote: >> On Mar 13, 11:02 am, mabshoff > >> dortmund.de> wrote: >>> On Mar 13, 10:55 am, kcrisman wrote: Any ideas? >> >>> The build box where that binary is being build had some changes >>> to the >>> fil

[sage-support] unable to install v3.4 - missing file libintl.3.dylib

2009-03-15 Thread Jamie
libintl.3.dylib not loaded - No such file ...sage/dsage/cacert.pem' I have located instances of a similar (?) problem with older versions directing users to locate libintl.3.dylib with link provided, but link [ http://sagemath.org/SAGEbin/apple_osx/intel/10.4-extra_files/ ] is broken. I have tri

[sage-support] Re: unable to install v3.4 - missing file libintl.3.dylib

2009-03-15 Thread mabshoff
Jamie wrote: Hi Jamie, > libintl.3.dylib not loaded - No such file ...sage/dsage/cacert.pem' > > I have located instances of a similar (?) problem with older versions > directing users to locate libintl.3.dylib with link provided, but link > [ http://sagemath.org/SAGEbin/apple_osx/intel/10.4-e

[sage-support] Sage 3.4 on SuSE Enterprise Server

2009-03-15 Thread Miron
Hello, I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options,

[sage-support] Sage 3.4 on SuSE Enterprise Server

2009-03-15 Thread Miron
Hello, I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 but got an error: checking whether gcc is new enough... configure: error: please upgrade to gcc 3.x or 4.x ERROR: You do not have all of the prerequisites needed to build SAGE from source. See the errors above. mak

[sage-support] Re: Sage 3.4 on SuSE Enterprise Server

2009-03-15 Thread mabshoff
On Mar 15, 10:55 pm, Miron wrote: > Hello, Hi Miron, > I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 but got > an error: > >    checking whether gcc is new enough... configure: error: please > upgrade to gcc 3.x or 4.x >    ERROR: You do not have all of the prerequisites neede

[sage-support] Re: Cannot copy on OSX

2009-03-15 Thread mabshoff
On Mar 15, 5:04 pm, Jim Clark wrote: > On Mar 14, 2009, at 4:52 PM, mabshoff wrote: Hi Jim, > I have downloaded both Michael's .dmg and the one from http:// > sage.math.washington.edu/sage/osx/powerpc/index.html > > In both cases, after I start sage, it fails as follows: > (My computer is a 3