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 see
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 wan
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
http://shadowf
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
http://groups.goo
# 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()
ttdag=tmat*tmat.conjugate().transpose
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
On Mar 30, 2:58 pm, 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 to define th
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 wrote:
> On 3/30/11 10:44 AM, Ben123 wrote:
>
>
>
> > Hello. I've written a sa
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 writi
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 -m
On Mar 30, 12:41 pm, Thierry Dumont
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 isn't out
yet, and sage
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
'http://content.wuala.com/contents/phatsphere/edoras/sage-mirror//spkg'
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 t
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
Linux
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 fo
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 wrote:
> On Mon, Mar 28, 2011 at 8:15 AM, Tzanko Matev wrote:
> > Hi,
>
> > I want
16 matches
Mail list logo