Re: [sage-support] Re: Error building c_lib

2010-06-04 Thread David Kirkby
On 4 June 2010 23:03, Dmitri wrote: > ISSUE RESOLVED > > > I think I've figured out the problem: I had the wrong binaries > installed (32-bit instead of the actualy 64-bit). This is also > noticeable in the error messge when it mentions LONG_BIT bad for > platform. However, this wasn't completely

[sage-support] Re: Support for elliptic curves over rings?

2010-06-04 Thread Alasdair
Just applied the patch (thanks to some help!) and it works fine. cheers, Alasdair On Jun 5, 8:21 am, William Stein wrote: > On Fri, Jun 4, 2010 at 3:17 PM, Alasdair wrote: > > Thanks!  At the moment, if I enter: > > > sage: N = 171576151 > > sage: E = EllipticCurve(Integers(N),[3,-13]) > > sage

Re: [sage-support] Re: Support for elliptic curves over rings?

2010-06-04 Thread William Stein
On Fri, Jun 4, 2010 at 3:17 PM, Alasdair wrote: > Thanks!  At the moment, if I enter: > > sage: N = 171576151 > sage: E = EllipticCurve(Integers(N),[3,-13]) > sage: P = E(2,1) > > I obtain a NotImplementedError.  So I should apply this patch, or > write my own routines?  (I can implement arithmeti

[sage-support] Re: Support for elliptic curves over rings?

2010-06-04 Thread Alasdair
Thanks! At the moment, if I enter: sage: N = 171576151 sage: E = EllipticCurve(Integers(N),[3,-13]) sage: P = E(2,1) I obtain a NotImplementedError. So I should apply this patch, or write my own routines? (I can implement arithmetic on such curves using projective coordinates.) -Alasdair On

[sage-support] Re: Error building c_lib

2010-06-04 Thread Dmitri
ISSUE RESOLVED I think I've figured out the problem: I had the wrong binaries installed (32-bit instead of the actualy 64-bit). This is also noticeable in the error messge when it mentions LONG_BIT bad for platform. However, this wasn't completely obvious: My Vista is on a 32- bit operation syste

Re: [sage-support] Support for elliptic curves over rings?

2010-06-04 Thread William Stein
On Fri, Jun 4, 2010 at 2:49 PM, Alasdair wrote: > I was recently exploring the RSA elliptic curve cryptosystem of Koyama > et al, which uses elliptic curves defined over the ring Z_n, with > n=p*q (p, q both primes).  Does Sage or any of its component systems > support arithmetic on such curves?

[sage-support] Support for elliptic curves over rings?

2010-06-04 Thread Alasdair
I was recently exploring the RSA elliptic curve cryptosystem of Koyama et al, which uses elliptic curves defined over the ring Z_n, with n=p*q (p, q both primes). Does Sage or any of its component systems support arithmetic on such curves? Thanks, Alasdair -- To post to this group, send email t

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-04 Thread Robert Dodier
On Jun 4, 7:48 am, John Reid wrote: > Implementing a function that evaluates the multinomial beta seems > straightforward. I imagine I could do that if pointed in the right > direction. But did you mean extending maxima so that it knows how to > integrate dirichlet distributions? I wouldn't know

[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona
On 4 June, 16:16, Bruce wrote: > This is now sorted out - thanks, John > > I can now access LiE from the notebook. My worksheet  can be seen > athttps://selmer:8000/home/pub/7/ > > This uses both LiE and symmetric functions. Not a problem in sage > but not so easy in rival packages. Excellent.

[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona
On 4 June, 12:03, Thierry Dumont wrote: > Le 04/06/2010 11:17, John Cremona a crit :> Brilliant suggestion.  I > installed libncurses5-dev and then installing > > lie worked.  (And then I found your message, afterwards). > > > Here is an awkward fact:  when I run our system-wide install (e.g. o

Re: [sage-support] Re: typesetting arrays

2010-06-04 Thread Jim Ragsdale
Wish I could send a patch :), but I'm not that good a python programmer. I'll try the convert method. Thanks! On Tue, Jun 1, 2010 at 6:14 PM, Jason Grout wrote: > On 5/30/10 6:41 PM, Jim Ragsdale wrote: >> >> I tried something else that a saw online: >> >> input: >> a=matrix(QQ,2,3,[1,2,3, 4,5,6]

[sage-support] Re: Using LiE

2010-06-04 Thread Bruce
This is now sorted out - thanks, John I can now access LiE from the notebook. My worksheet can be seen at https://selmer:8000/home/pub/7/ This uses both LiE and symmetric functions. Not a problem in sage but not so easy in rival packages. -- To post to this group, send email to sage-support@go

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-04 Thread John Reid
kcrisman wrote: On Jun 4, 3:58 am, John Reid wrote: kcrisman wrote: I'm not sure whether this is really worth a bug report to Maxima either; what answer were you expecting (a generalized beta function, maybe) to receive? Perhaps that function does not yet exist in Maxima. Incidentally, you c

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-04 Thread kcrisman
On Jun 4, 3:58 am, John Reid wrote: > kcrisman wrote: > > I'm not sure whether this is really worth a bug report to Maxima > > either; what answer were you expecting (a generalized beta function, > > maybe) to receive?  Perhaps that function does not yet exist in > > Maxima. Incidentally, you ca

[sage-support] Re: Unable to build maxima in Sage 4.4.2

2010-06-04 Thread Simon King
Whoever reads this... On Jun 4, 9:02 am, Simon King wrote: > After printing the ":", the memory consumption increased dramatically > (according to "top", ecl has eaten it) and my machine died from > swapping. > > Still unable to build 4.4.2 from sources. In my first two attempts, I interrupted t

Re: [sage-support] Re: Using LiE

2010-06-04 Thread Thierry Dumont
Le 04/06/2010 11:17, John Cremona a écrit : Brilliant suggestion. I installed libncurses5-dev and then installing lie worked. (And then I found your message, afterwards). Here is an awkward fact: when I run our system-wide install (e.g. on the server) the command optional_packages() fails sin

[sage-support] Re: Using LiE

2010-06-04 Thread John Cremona
Brilliant suggestion. I installed libncurses5-dev and then installing lie worked. (And then I found your message, afterwards). Here is an awkward fact: when I run our system-wide install (e.g. on the server) the command optional_packages() fails since it is trying to write a file into /usr/loca

[sage-support] Re: Unable to build maxima in Sage 4.4.2

2010-06-04 Thread Simon King
Hi! Any idea what the message ;;; Note: Invoking external command: ;;; gcc -o "/tmp/ECL001m5g8qU.fas" -L"/home/king/SAGE/sage-4.4.2/ local/lib/" "/tmp/ECL001m5g8qU.o" -shared -L/home/king/SAGE/ sage-4.4.2/local/lib -L/home/king/SAGE/sage-4.4.2/local/lib -lecl - lgmp -lgc -ldl -lm An error

[sage-support] Re: Integrate dirichlet distribution problem

2010-06-04 Thread John Reid
kcrisman wrote: I'm not sure whether this is really worth a bug report to Maxima either; what answer were you expecting (a generalized beta function, maybe) to receive? Perhaps that function does not yet exist in Maxima. Incidentally, you can find more information about what manipulations you ca