[sage-devel] Re: Sage Bug Report - Wrong basis for a submodule

2008-03-05 Thread William Stein
On Tue, Mar 4, 2008 at 11:20 PM, Andrey Y Novoseltsev <[EMAIL PROTECTED]> wrote: > Dear William, > > It seems that the following is definitely a bug - zero vector in the basis: This is now trac #2398, and there is a patch there that fixes the problem. It was a somewhat subtle bug on "non random"

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-05 Thread Carl Witty
On Mar 5, 12:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Mar 5, 2008 at 11:45 AM, Carl Witty <[EMAIL PROTECTED]> wrote: > > 2) Modify sage_eval so that it can process a sequence of statements > > followed by an expression; then _sage_init_ could return > > """ > > R1 = GF(17)

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread Justin C. Walker
On Mar 5, 2008, at 7:55 AM, mabshoff wrote: > The merge goes on. 2.10.3.rc2 can be found at > > http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.3/ > sage-2.10.3.rc2.tar Built on two 10.4 systems, with slightly different results. The build succeeded in each case, but the te

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread mhampton
This fails to compile on my intel mac (10.4.11), but its the same R failure I had with rc0. I have not tried William's suggestion of upgrading my gcc, I'll give that a shot tomorrow. -M. Hampton On Mar 5, 9:55 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > The merge goes on. 2.10.3.rc2 c

[sage-devel] Re: Fwd: sage-devel "exact" numerical integration

2008-03-05 Thread achrzesz
In the present example all data are exact and the results is OK In the previous example you have mixed symbolic and numerical data (0.1) and that was risky Andrzej On 5 Mar, 23:59, David Harvey <[EMAIL PROTECTED]> wrote: > Begin forwarded message: > > > > > From: Andrzej Chrzęszczyk <[EMAIL PROTE

[sage-devel] Re: Fwd: sage-devel "exact" numerical integration

2008-03-05 Thread Jason Grout
Jason Grout wrote: > David Harvey wrote: >> Begin forwarded message: >> >>> *From: *Andrzej Chrzęszczyk <[EMAIL PROTECTED] > >>> *Date: *March 5, 2008 6:23:53 PM EST >>> *To: [EMAIL PROTECTED] >>> *Subject: **sage-devel "exact" numerical integra

[sage-devel] Re: Fwd: sage-devel "exact" numerical integration

2008-03-05 Thread Jason Grout
David Harvey wrote: > Begin forwarded message: > >> *From: *Andrzej Chrzęszczyk <[EMAIL PROTECTED] > >> *Date: *March 5, 2008 6:23:53 PM EST >> *To: [EMAIL PROTECTED] >> *Subject: **sage-devel "exact" numerical integration* >> >> Dear David >>

[sage-devel] Fwd: sage-devel "exact" numerical integration

2008-03-05 Thread David Harvey
Begin forwarded message: > From: Andrzej Chrzęszczyk <[EMAIL PROTECTED]> > Date: March 5, 2008 6:23:53 PM EST > To: [EMAIL PROTECTED] > Subject: sage-devel "exact" numerical integration > > Dear David > Try > > sage: maxima_console() > (%i1) integrate(%e^(-x^2),x,0,0.1); >

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 3:16 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 5, 2008 at 6:14 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Wed, Mar 5, 2008 at 3:13 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > > > On an amd64 bit ubuntu 7.04 linux machine: > >

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread David Joyner
On Wed, Mar 5, 2008 at 6:14 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 5, 2008 at 3:13 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > On an amd64 bit ubuntu 7.04 linux machine: > > > > The following tests failed: > > > > > > sage -t devel/sage-main/sage/fu

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 3:13 PM, David Joyner <[EMAIL PROTECTED]> wrote: > > On an amd64 bit ubuntu 7.04 linux machine: > > The following tests failed: > > > sage -t devel/sage-main/sage/functions/orthogonal_polys.py > sage -t devel/sage-main/sage/rings/polynomial/groebner_fan.p

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread David Joyner
On an amd64 bit ubuntu 7.04 linux machine: The following tests failed: sage -t devel/sage-main/sage/functions/orthogonal_polys.py sage -t devel/sage-main/sage/rings/polynomial/groebner_fan.py sage -t devel/sage-main/sage/matrix/matrix_symbolic_dense.pyx sage -

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread Jaap Spies
mabshoff wrote: > The merge goes on. 2.10.3.rc2 can be found at > > http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.3/sage-2.10.3.rc2.tar > > A sage.math binary for those interested in not > compiling all of Sage is at > > http://sage.math.washington.edu/home/mabshoff/release-

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread William Stein
Hi, Regarding 2.10.2.rc2 the failures are as follows: 32-bit linux ubuntu: sage -t devel/sage-main/sage/matrix/matrix_symbolic_dense.pyx sage -t devel/sage-main/sage/plot/plot.py sage -t devel/sage-main/sage/structure/factorization.py sage -t devel/sage-main/

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread John Cremona
2.10.3.rc2 built ok on [EMAIL PROTECTED] -a Linux host-57-71 2.6.18.8-0.3-default #1 SMP Tue Apr 17 08:42:35 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux [EMAIL PROTECTED] -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-05 Thread John Cremona
I like option 2 too. As a single string that example could be "R1 = GF(17); R2 = R1['x,y']; x, y = R2.gens(); 3*x^2*y^3" ? John On 05/03/2008, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Mar 4, 10:59 am, Jason Grout <[EMAIL PROTECTED]> wrote: > > This morning I tried to copy a matrix outpu

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 11:45 AM, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Mar 4, 10:59 am, Jason Grout <[EMAIL PROTECTED]> wrote: > > This morning I tried to copy a matrix output, edit it, and create a new > > matrix. It was frustrating because there seemed to be no way to easily > > cut

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-05 Thread Carl Witty
On Mar 4, 10:59 am, Jason Grout <[EMAIL PROTECTED]> wrote: > This morning I tried to copy a matrix output, edit it, and create a new > matrix. It was frustrating because there seemed to be no way to easily > cut and paste output into input. This afternoon a person I was showing > Sage to also ha

[sage-devel] Re: another Sage+tvtk interactive 3D graphics demo

2008-03-05 Thread Jaap Spies
Nathan Dunfield wrote: >> As before, you need to install mayavi (perhaps "sage -i >> mayavi_2.0.20080117" will work, at least under Linux); then run "sage - >> wthread", > > This mayavi package didn't work for me on the following system: > > OS: OS X version 10.4.11 with gcc 4.0.1 build 5367 > H

[sage-devel] Re: another Sage+tvtk interactive 3D graphics demo

2008-03-05 Thread Jaap Spies
Nathan Dunfield wrote: >> As before, you need to install mayavi (perhaps "sage -i >> mayavi_2.0.20080117" will work, at least under Linux); then run "sage - >> wthread", > > This mayavi package didn't work for me on the following system: > > OS: OS X version 10.4.11 with gcc 4.0.1 build 5367 > H

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread Robert Miller
Mabshoff, In rc2, I get that glibc problem sometimes when simply exiting the program: """ [EMAIL PROTECTED]:~/sage-2.10.3.rc2-sage.math-only-x86_64-Linux$ ./sage -- | SAGE Version 2.10.3.rc2, Release Date: 2008-03-05

[sage-devel] Re: "evaluate" links in notebook

2008-03-05 Thread bill purvis
On Tuesday 04 March 2008, [EMAIL PROTECTED] wrote: > >> If that doesn't work, then I'll be really baffled (ok, even more baffled > >> than I am already). If it does work, then change the 100 to a 1000 > >> (delay in miliseconds), and see if it still works. > > > > Ahah! Now it works --- I can fi

[sage-devel] Re: another Sage+tvtk interactive 3D graphics demo

2008-03-05 Thread Nathan Dunfield
> As before, you need to install mayavi (perhaps "sage -i > mayavi_2.0.20080117" will work, at least under Linux); then run "sage - > wthread", This mayavi package didn't work for me on the following system: OS: OS X version 10.4.11 with gcc 4.0.1 build 5367 Hardware: Intel Core 2 Duo Sage: Clea

[sage-devel] Sage 2.10.2.rc2 release!

2008-03-05 Thread mabshoff
The merge goes on. 2.10.3.rc2 can be found at http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.3/sage-2.10.3.rc2.tar A sage.math binary for those interested in not compiling all of Sage is at http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.3/sage-2.10.3.rc2-sa

[sage-devel] adding mympi to sage optional packages

2008-03-05 Thread AEatUALR
Do you see the mympi python/mpi module showing up as an optional package in sage? http://peloton.sdsc.edu/~tkaiser/mympi/ I see openmpi and mpi4py there (which is great). Albert --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups

[sage-devel] "exact" numerical integration

2008-03-05 Thread David Harvey
I tried doing some integrals today and the output doesn't make much sense to me: sage: f = e^(-x^2) sage: f.integrate(x, 0, 0.1) 2066*sqrt(pi)/36741 sage: f.integrate(x, 0, 1/10) sqrt(pi)*erf(1/10)/2 H. Does this mean erf(1/10) is a rational number? That's a little surprising to me. In f

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-05 Thread David Roe
I agree with the choice of _sage_init_. By default this can return self._repr_(), but should be overridden in cases like matrix. David On Wed, Mar 5, 2008 at 1:32 AM, Robert Bradshaw < [EMAIL PROTECTED]> wrote: > > _sage_init_ sounds like the right solution. The problem is that for > many object

[sage-devel] Re: Sage 2.10.3.rc1 released

2008-03-05 Thread David Joyner
I had failures in tut.tex (in particular, reduced_groebner_bases failed), const.tex and the following tests failed: sage -t devel/sage-main/sage/rings/polynomial/groebner_fan.py sage -t devel/sage-main/sage/plot/plot.py + On Tue,

[sage-devel] Re: symbolic logic code

2008-03-05 Thread Michael Brickenstein
Hi! You could wrap that functionality around PolyBoRi Using the mapping: False -> 1 True->0 or -> * not x -> 1+x You can map logical expressions to Boolean polynomials. Having such a polynomial f, you calculates its zeroes, which gives the DNF. Example: In [1]:f=(x(1)+x(2)) In [2]:(x(1)*x(2)).