[sage-devel] Fractions with factored denominators

2009-03-08 Thread Nicolas M. Thiery
Dear Sage developers, I am manipulating univariate fractions in A[t] where A is a ring (say QQ[x1,...,xn]), and all the denominators factor nicely in many small terms like (1-x1 t) * (1 - 2*x2*t - (x3*x4) t^4) * ... I need to do ring operations (products, sums, ...), and to have the resu

[sage-devel] Re: Lazy Infinite Power Series

2009-03-08 Thread Nicolas M. Thiery
Dear Mike, dear Henryk, What's the status of the merge of your implementations of power series? I need a couple functionalities not yet in Mike's implementation, and mainly: - conversion from a polynomial - division On Thu, Oct 30, 2008 at 06:29:35AM -0700, Henryk Trappmann wrote: > On

[sage-devel] Re: Excessive snapshots

2009-03-08 Thread Rob Beezer
OK, I have a better, but still imperfect, idea of what is happening. Discussion below is now at http://trac.sagemath.org/sage_trac/ticket/5459 (I'm cross-posting the contnuation of this thread from sage-support to sage-devel). There is a notebook configuration item indexed by 'save_interval'. Th

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
On 03/09/09 03:01, Ondrej Certik wrote: >> >> >> and it seems to work with my setup. I am using freewrl >> http://freewrl.sourceforge.net/ on Ubuntu 8.04. > > I just tried that too and it works for me as well: > > http://nb.hpfem.org/home/pub/15/ > > and clearly I could now create some nice 3d

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread davidp
I have been working on a Sage package for the Abelian Sandpile Model: http://people.reed.edu/~davidp/412/ and I have a student that would love to work with me this summer to really polish it up. (A preliminary version of a sandpile applet he wrote is at www.reed.edu/~headb/sandpiles.) It might

[sage-devel] Re: Riemann-Roch spaces in Magma

2009-03-08 Thread Francisco Veach
Using an example from the Sage documentation, I have R. = ProjectiveSpace(GF(2),2) f = x^3*y + y^3*z + x*z^3 C = Curve(f) pts = C.rational_points() (Note: pts = [(0 : 0 : 1), (0 : 1 : 0), (1 : 0 : 0)]) D = C.divisor([ (4, pts[0]), (0,pts[1]), (4, pts[2]) ]) C.riemann_roch_basis(D) Output: [x/y

[sage-devel] Re: Integration Development

2009-03-08 Thread rjf
1. If you were to use Maxima directly, you could probably teach it, by pattern matching, or other techniques, to do some set of cosine transforms. This would probably be far more economical of your time, and would give you interesting insights into how a very powerful symbolic mathematical manipul

[sage-devel] Re: Integration Development

2009-03-08 Thread clinton bowen
On Mar 7, 11:27 am, Robert Dodier wrote: > clintonbowen wrote: > > I tried some Cosine Transforms found in the book 'Handbook of Integral > > Equations' by  Andrei D. Polyanin and > > Alexander V. Manzhirov into sage and I found that sage was not able to > > perform these integrals. > > For the

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread Ronan Paixão
> > +10 > > This is why I copied the notebook section as an example from the list > for 2008. Even though I would expect Google to be interested in funding > open source implementations of maths, I think it would be better if we > focus on the computer science/engineering side of things. > > I

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Ondrej Certik
On Sun, Mar 8, 2009 at 11:03 AM, Prabhu Ramachandran wrote: > > Hi Carl, > > On 03/08/09 22:31, Carl Witty wrote: >> If you want to add such support, the place to look is >> sage/server/notebook/cell.py, in the function files_html.  This >> function takes a list of all the files that were produce

[sage-devel] Re: Riemann-Roch spaces in Magma

2009-03-08 Thread John Cremona
PS The Magma documentation is all available on line and explains this with examples. Try this: http://magma.maths.usyd.edu.au/magma/htmlhelp/text1288.htm John 2009/3/8 John Cremona : > You do this: > >> P3:=pts[3]; >> P5:=pts[5]; >> P6:=pts[6]; >> D:=Place(P3)+Place(P5)+Place(P6); >> D; > Divis

[sage-devel] Re: Riemann-Roch spaces in Magma

2009-03-08 Thread John Cremona
You do this: > P3:=pts[3]; > P5:=pts[5]; > P6:=pts[6]; > D:=Place(P3)+Place(P5)+Place(P6); > D; Divisor 1*Place at (1 : 2 : 1) + 1*Place at (0 : 4 : 1) + 1*Place at (4 : 1 : 0) > RiemannRochSpace(D); KModule of dimension 1 over GF(5) Mapping from: KModule of dimension 1 over GF(5) to Function Fie

[sage-devel] Re: name space pollution

2009-03-08 Thread Nicolas M. Thiery
On Sun, Mar 08, 2009 at 09:32:05PM +0100, Nicolas Thiéry wrote: > > sage: SetPartitions > > SetPartitions SetPartitionsIk SetPartitionsRk > > SetPartitionsAk SetPartitionsPRk SetPartitionsSk > > SetPartitionsBk SetPartitionsPk SetPartitionsTk > > Yes, as you suggest below, this indee

[sage-devel] Re: Integration Development

2009-03-08 Thread Maurizio
I'd like to stay on-topic, but at the same time I'd like to ask you if it's any interest for us (SAGE users) the Poor Man's integration in SymPy: http://code.google.com/p/sympy/issues/detail?id=463 [ I'm referring to this, since this integration formula seems to be one of the most important goal

[sage-devel] Re: name space pollution

2009-03-08 Thread Nicolas M. Thiery
Hi! Browsing back through my old e-mail, I just wanted to add a couple notes. On Tue, Dec 02, 2008 at 01:22:30AM -0800, Craig Citro wrote: > > > That said, I'm not for some massive reorganization of > > the current global namespace, since that wold break a huge amount of > > existing co

[sage-devel] Riemann-Roch spaces in Magma

2009-03-08 Thread Francisco Veach
I'm currently reading through Hess' paper on calculating bases for Riemann-Roch spaces (http://linkinghub.elsevier.com/retrieve/pii/ S0747717101905139), hoping to be able to implement it for Sage. I'd like to be able to learn how to compute a basis in Magma so that I'll be able to check my results

[sage-devel] Re: reusing solutions in functions

2009-03-08 Thread Maurizio
Hello, I was able to reproduce this in Sage 3.3 var('a b c') first = a + b + c first._operands[0]._operands[0] is a True second = loads(dumps(first)) second._operands[0]._operands[0] is a False Should anyone open a bug in trac? I am not sure of how to do that and which function to address th

[sage-devel] Re: sage 3.3 fails to build (preserving permissions problem)

2009-03-08 Thread Ondrej Certik
On Sun, Mar 8, 2009 at 8:05 AM, David Harvey wrote: > > Hi, > > I had the same problem a month or two ago with sage 3.1.2 (?) but > didn't report it. > > I had the same problem just now with sage 3.3. I tried fixing the NTL > build by removing the -p options but then the build failed for > whatev

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
On 03/08/09 19:19, William Stein wrote: >> 3D interactivity. Here are a few simple examples from Ondrej's site >> that I made from some mlab examples: >> >> http://nb.hpfem.org/home/pub/16 > > Awesome!! Thanks, yes, the sage notebook is awesome! >> Another option would be to produce output su

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
Hi Carl, On 03/08/09 22:31, Carl Witty wrote: > If you want to add such support, the place to look is > sage/server/notebook/cell.py, in the function files_html. This > function takes a list of all the files that were produced by > evaluating the cell, and produces HTML with display or download

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Carl Witty
On Sun, Mar 8, 2009 at 3:36 AM, Prabhu Ramachandran wrote: > > Dear Sage developers, > > Is it possible to view an x3d file from a sage worksheet (assuming my > browser has the necessary plugin or java support for example)? I saw > numerous mentions of x3d support in the source code in plot/plot3

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread Burcin Erocal
Hi, On Sun, 8 Mar 2009 16:08:22 +0100 Burcin Erocal wrote: > We should still prepare the application ASAP, of course. :) > > Please submit ideas to the wiki page: > > http://wiki.sagemath.org/gsoc09 > > > I'll also start a wiki page for the questions we need to address as a > part of the ap

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread Burcin Erocal
Hi William, On Sun, 8 Mar 2009 06:46:17 -0700 William Stein wrote: > > On Sun, Mar 8, 2009 at 4:50 AM, Burcin Erocal > wrote: > > > > Hi, > > > > Are we doing anything for the Google Summer of Code this year? > > I hope so. Note that I'm personally not going to fill out a mentor > organizat

[sage-devel] Re: sage 3.3 fails to build (preserving permissions problem)

2009-03-08 Thread David Harvey
Hi, I had the same problem a month or two ago with sage 3.1.2 (?) but didn't report it. I had the same problem just now with sage 3.3. I tried fixing the NTL build by removing the -p options but then the build failed for whatever came next (eclib I believe). Then I found this thread and realise

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread Burcin Erocal
On Sun, 8 Mar 2009 06:52:17 -0700 (PDT) Harald Schilly wrote: > > On Mar 8, 12:50 pm, Burcin Erocal wrote: > > Are we doing anything for the Google Summer of Code this year? > > I hope - from the experience in the past - the main focus is on non- > maths related tasks, that are "easy" and com

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread Harald Schilly
On Mar 8, 12:50 pm, Burcin Erocal wrote: > Are we doing anything for the Google Summer of Code this year? I hope - from the experience in the past - the main focus is on non- maths related tasks, that are "easy" and comprehensible from a software engineering standpoint. i.e. authentication with

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread William Stein
On Sun, Mar 8, 2009 at 4:36 AM, Prabhu Ramachandran wrote: > > Dear Sage developers, > > Is it possible to view an x3d file from a sage worksheet (assuming my > browser has the necessary plugin or java support for example)? No, but as you've basically observed below such support would likely be

[sage-devel] Re: Google Summer of Code 2009

2009-03-08 Thread William Stein
On Sun, Mar 8, 2009 at 4:50 AM, Burcin Erocal wrote: > > Hi, > > Are we doing anything for the Google Summer of Code this year? I hope so. Note that I'm personally not going to fill out a mentor organization application for Sage. If you or somebody else wants to, volunteer now. After receivi

[sage-devel] Google Summer of Code 2009

2009-03-08 Thread Burcin Erocal
Hi, Are we doing anything for the Google Summer of Code this year? The applications for mentoring organizations open tomorrow (March 9), and end on Friday (March 13). The timeline is here: http://code.google.com/opensource/gsoc/2009/faqs.html#0_1_timeline_5354032302481437_ I started a wiki pa

[sage-devel] 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
Dear Sage developers, Is it possible to view an x3d file from a sage worksheet (assuming my browser has the necessary plugin or java support for example)? I saw numerous mentions of x3d support in the source code in plot/plot3d. For example if one generates a 'foo.png', the image is immediate