[sage-support] Re: Fwd: trouble installing sage

2011-03-30 Thread achrzesz
In instalatiopn guide you can find: SAGE_ATLAS_LIB - if you have an installation of ATLAS on your system and you want Sage to use it instead of building and installing its own version of ATLAS, set this variable to be the parent directory of your ATLAS installation: it should have a subdirectory

[sage-support] Re: How to run a Magma computation with a timeout

2011-03-30 Thread Tzanko Matev
The alarm() function was exactly what I needed. Thanks! I had tried to attach my own handler to SIGALRM, but because of, I guess, the way Sage handles exceptions it dind't work. On Mar 28, 8:28 pm, William Stein wst...@gmail.com wrote: On Mon, Mar 28, 2011 at 8:15 AM, Tzanko Matev

[sage-support] need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread Ben123
Hello. I've written a sage program which produces a complex matrix. I want to find the eigenvalues and associated eigenvectors. I also want to use arbitrary precision. I don't care about speed. I've read old posts to this group on this topic, but am unsure how to proceed. Currently I'm using the

[sage-support] Re: need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread Ben123
Update: after reading #10346 on http://www.sagemath.org/mirror/src/changelogs/sage-4.6.2.txt I upgraded to 4.6.2 and am still having the same problem (no eigenvectors specified, even with 500 digits of precision). sage: version() 'Sage Version 4.6.2, Release Date: 2011-02-25' sage: !uname -a

[sage-support] Re: need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread Jason Grout
On 3/30/11 10:44 AM, Ben123 wrote: Hello. I've written a sage program which produces a complex matrix. I want to find the eigenvalues and associated eigenvectors. I also want to use arbitrary precision. I don't care about speed. I've read old posts to this group on this topic, but am unsure how

[sage-support] sage -upgrade problem...

2011-03-30 Thread Thierry Dumont
It seems that there is a problem with content.wuala.com. sage -upgrade Automatically selected server content.wuala.com (http://content.wuala.com/contents/phatsphere/edoras/sage-mirror/). Downloading packages from

[sage-support] Re: sage -upgrade problem...

2011-03-30 Thread kcrisman
On Mar 30, 12:41 pm, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: It seems that there is a problem with content.wuala.com. sage -upgrade I am in 4.6.2 Of course, there is nothing to upgrade to at this time, though that doesn't mean there isn't a problem with that server. 4.7

Re: [sage-support] trouble installing sage

2011-03-30 Thread Dr. David Kirkby
On 03/30/11 02:33 AM, Roy Joshua wrote: Hi, I have a Dell 980 optiplex machine with i7 processor (8 core), 16GB RAM. I tried to install sage on it with OS: Centos 5.5. That's an impressive machine. Clearly not an old relic. CLEANM -DATL_UCLEANN -DATL_UCLEANK -O -fomit-frame-pointer -fPIC

[sage-support] Sequences and Series

2011-03-30 Thread ObsessiveMathsFreak
I'm just wondering if there is a canonical (i.e. convienient(i.e. lazy)) way to define simple sequences and series in sage. In particular, is there a standard way to define recursive series? Suppose for example that You wanted to define the series a_n=1/n^2. Is there a way to do this without

[sage-support] Re: need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread achrzesz
sage: gp_console() ? \p 100 realprecision = 115 significant digits (100 digits displayed) ? a=matrix(3,3,k,m,random(1.0))+I*matrix(3,3,k,m,random(1.0)); ? m=a*conj(a)~; ? mateigen(m) On 30 Mar, 18:20, Jason Grout jason-s...@creativetrax.com wrote: On 3/30/11 10:44 AM, Ben123 wrote:

[sage-support] Re: Sequences and Series

2011-03-30 Thread kcrisman
On Mar 30, 2:58 pm, ObsessiveMathsFreak obsessivemathsfr...@gmail.com wrote: I'm just wondering if there is a canonical (i.e. convienient(i.e. lazy)) way to define simple sequences and series in sage. In particular, is there a standard way to define recursive series? Suppose for example

[sage-support] Re: need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread Ben123
Hello. Thank you for showing me the equivalent process in PARI/GP. I think this implies I need to transfer the complex Hermitian matrix into gp_console() to find eigenvectors, then transfer them back to Sage. I'll update this post when I figure out how to do that. In the mean time, if someone has

[sage-support] Re: need eigenvectors of complex matrix to arbitrary precision

2011-03-30 Thread achrzesz
# NO WARRANTY precision_digits=30 nop=5 # rank of matrix MS_nop_comp=MatrixSpace(ComplexField(precision_digits),nop,nop) tmat=MS_nop_comp(0) # zero-ize the values ttdag=MS_nop_comp(0) for a in range(nop): for b in range(nop): tmat[a,b]=random()+I*random()

Re: [sage-support] using random seed for sample() function

2011-03-30 Thread tvn
I see, thanks -- was not aware Sage also has its own way to set random seed. -- 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 group at

Re: [sage-support] Re: Sequences and Series

2011-03-30 Thread A. Jorge Garcia
Do you mean something like: #fibonacci def fib(n): if n==0 or n==1: return 1 return fib(n-1)+fib(n-2) #output sequence for i in range(10): print fib(i) #output series sum=0 for i in range(10): sum+=fib(i) print sum HTH, A. Jorge Garcia Applied Math and CompSci

Re: [sage-support] Sequences and Series

2011-03-30 Thread Dan Drake
On Wed, 30 Mar 2011 at 11:58AM -0700, ObsessiveMathsFreak wrote: I'm just wondering if there is a canonical (i.e. convienient(i.e. lazy)) way to define simple sequences and series in sage. In particular, is there a standard way to define recursive series? Suppose for example that You wanted

Re: [sage-support] Abridged summary of sage-support@googlegroups.com - 13 Messages in 6 Topics

2011-03-30 Thread Roy Joshua
Hi, I tried the suggestion to use the command SAGE64=yes export SAGE64 that was suggested as response to my last message by David Kirkby. (My last message was that I could not install sage-4.6.2 to a machine running Centos 5.5. This is a 64 bit machine with i7 8 core processor.) However that