[sage-devel] Re: change_ring() for vector in subspace takes forever

2013-11-25 Thread Greg Laun
I did some quick profiling, and the primary culprit seems to be that T[0].change_ring(QQ) does two expensive echelonizing operations, each of which last about 37 seconds. The specific function is 'echelon_form' in Matrix_rational_dense. The short answer is that the the class FreeModule_submodu

[sage-devel] What ever happened to pyglet in sage?

2013-11-03 Thread Greg Laun
In researching python interfaces to opengl, I found a discussion from 2007 about using pyglet for 3D plotting in sage (https://groups.google.com/forum/#!topic/sage-devel/AIyET83jB6A). But I can find nothing beyond that to suggest why the project of incorporating pyglet was dropped. (Pyglet is

Re: [sage-devel] imag(CC(infinity)) is 0?

2013-10-08 Thread Greg Laun
Sage's "in" is not a mathematical "\in", Sage's "RR" is not the field of > real numbers. Peter is arguing to make them behave more like they are. > Others are arguing not to change these things for various reasons. (And I > will not get myself tangled up in that, since I don't know enough abou

Re: [sage-devel] imag(CC(infinity)) is 0?

2013-10-04 Thread Greg Laun
Thanks Peter. I agree that infinity in RR is a big problem. For those following the discussion, Peter updated Trac ticket #11506 to reflect this concern and it is now marked as a critical bug. On Thursday, October 3, 2013 5:31:06 PM UTC-4, Peter Bruin wrote: > > Hello, > > from the perspecti

Re: [sage-devel] imag(CC(infinity)) is 0?

2013-10-03 Thread Greg Laun
UTC-4, Michael Orlitzky wrote: > > On 10/03/2013 11:54 AM, Greg Laun wrote: > > Out of curiosity, I decided to ask sage what it thought the imaginary > > part of infinity was. I'm not quite sure that this should return 0. > > Mathematica returns Indeterminat

[sage-devel] imag(CC(infinity)) is 0?

2013-10-03 Thread Greg Laun
Out of curiosity, I decided to ask sage what it thought the imaginary part of infinity was. I'm not quite sure that this should return 0. Mathematica returns Indeterminate, which seems like a better answer to me. Has this been discussed elsewhere? Thanks, Greg -- You received this message

[sage-devel] Re: How can we improve 3d graphics in sage?

2013-10-03 Thread Greg Laun
s and give them a new name to maintain backwards compatibility while we work out how the new system might work. My student is also rather excited by the idea of making sage interface with Blender. I know a few people were asking for that. Greg On Friday, September 13, 2013 2:10:16 PM UTC-4, Greg

[sage-devel] Re: How can we improve 3d graphics in sage?

2013-09-16 Thread Greg Laun
Hey everyone, Thanks for all the input. I'll share the discussion with my student and I'll send an update to this thread once we've decided what direction to go in. - Greg On Friday, September 13, 2013 2:10:16 PM UTC-4, Greg Laun wrote: > > I have a student who speci

[sage-devel] How can we improve 3d graphics in sage?

2013-09-13 Thread Greg Laun
I have a student who specializes in 3d graphics (in particular writing very fast physics and game engines) who has expressed interest in contributing to Sage. From the sound of it, it would be very simple for him to implement fast, responsive interactive 3d graphics, which I for one would defi

[sage-devel] Re: Containment and general/special linear

2012-09-26 Thread Greg Laun
On Wednesday, September 26, 2012 5:03:15 PM UTC-4, Simon King wrote: > > Hi Greg, > > On 2012-09-26, Greg Laun > wrote: > > > > sage: matrix(GL(2),2,[1,0,0,1]) in GL(2,CC) > > True > > Do you mean "GF(2)" on the left hand side? > Ahh

[sage-devel] Re: Containment and general/special linear

2012-09-26 Thread Greg Laun
Whoops, gmail sent the email before I was finished. I think a more appropriate way to do the comparison would be to check if self(x) == x. This is how contains is implemented in parent.pyx. Any thoughts? Thanks, Greg On Wednesday, September 26, 2012 4:07:31 PM UTC-4, Greg Laun wrote

[sage-devel] Containment and general/special linear

2012-09-26 Thread Greg Laun
Hi Everyone, I'm sorry if this has been discussed, but I can't find a discussion. I noticed the following behavior: sage: matrix(GL(2),2,[1,0,0,1]) in GL(2,CC) True so 'in' ignores base ring. The problem is that __contains__ for general_linear.pyx and special_linear.pyx only check whether a

[sage-devel] Has anybody gotten ropemacs working for sage?

2012-05-15 Thread Greg Laun
made of the emacs IDE features. I know many sage developers use emacs, so I was wondering if anyone had gotten ropemacs or pymacs or something similar to work. If so, would anybody be willing to document the procedure? Thanks! Greg Laun -- To post to this group, send an email to sage-

[sage-devel] Re: 2d hyperbolic geometry, homogeneous spaces, plot

2010-06-21 Thread Greg Laun
Okay, I'll get to work on that Greg On Jun 18, 10:39 am, Jason Grout wrote: > On 6/17/10 10:23 AM, Greg Laun wrote: > > > Ourgeometrylab has a good deal of existing code for hyperbolic > >geometry, and one of my goals this summer is to port it to Sage.   I > > spoke

[sage-devel] Re: 2d hyperbolic geometry, homogeneous spaces, plot

2010-06-17 Thread Greg Laun
Our geometry lab has a good deal of existing code for hyperbolic geometry, and one of my goals this summer is to port it to Sage. I spoke with Bill Goldman, who heads the lab, and he's on board with GPLing the code and releasing it into the Sage code base if that's something people want. Right n