[sage-support] Re: intersection of two lines

2010-09-13 Thread Enrico
I have code that defines a line segment as a point and a vector. So for line pq, I compute point q from l.p and l.v when necessary. I also refer to x and y coords eg. (p.x+q.x, p.y+q.y) So I've wrapped line2d and point2d from sage using them as __repr__ in my new class and I'm wondering if this is

[sage-support] euclidean vector ops

2010-09-20 Thread Enrico
Hi folks, I want to use Sage to do repeated calculations of simple euclidean geometry. I was using a library that used classes like this: class Vector2: __slots__ = ['x', 'y'] def __init__(self, x, y): self.x = x self.y = y I like to refer to x and y coords of a vector v, no

[sage-support] Re: unable to start Sage notebook after VMware/Windows crash

2010-09-30 Thread Enrico
Forgive my impertinence but this sounds like a slightly unstable setup to be using. I'd just reinstall if dumping a file into sagenb/storage doesn't work, preferably on a Linux partition rather than in VMWare and not using an alpha version of Sage. Enrico -- To post to this group, sen

[sage-support] Re: Trying to create a simple Cayley graph

2010-10-03 Thread Enrico
I get the same result on Sage4.5.2 so maybe it's been like that for a while. A simple graph should be undirected but Sage notebook draws each edge with two arrows each way. Perhaps this is considered the more general case? Try sage-devel and see if anyone wants to open a ticket? -- To post to thi

[sage-support] Sage in Eclipse

2010-10-07 Thread Enrico
I've been reading an old post Sage + Eclipse + PyDev http://groups.google.com/group/sage-support/browse_thread/thread/ac94be0a91863467/07b0f8c43223321b?lnk=gst&q=eclipse#07b0f8c43223321b Many moons later, I have the same problem. Some things change, some stay the same. It still doesn't work runnin

[sage-support] Coercion problem in free module

2010-11-11 Thread Enrico
Hi All, Can anyone think why my binary install (Sage4.5.2 on Ubuntu10.04) should start intermittently having a coercion problem "rank = int(rank) in free_module.py" when I haven't tried to install anything else in Sage's python or modify Sage itself. eg. I had: V = VectorSpace(RR, 2) v = V([3.0,