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
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
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
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
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
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,