Hello,

I'm still trying to do some linear algebra with sage.

sage: var('x1,y1,z1, x2,y2,z2, x3,y3,z3')
(x1, y1, z1, x2, y2, z2, x3, y3, z3)
sage: var('p1,p2,p3')
(p1, p2, p3)
sage: var('x,y,z')
(x, y, z)
sage: var('alpha, beta')
(alpha, beta)
sage: p1 = transpose(matrix([[x1,y1,z1]]))
sage: p1

[x1]
[y1]
[z1]
sage: p2 = transpose(matrix([[x2,y2,z2]]))
sage: p3 = transpose(matrix([[x3,y3,z3]]))
sage: alpha = p2 - p1
sage: alpha

[x2 - x1]
[y2 - y1]
[z2 - z1]
sage: beta = p3 - p1
sage: beta

[x3 - x1]
[y3 - y1]
[z3 - z1]
sage: alpha[0]
(                                           x2 - x1)

At this point I wnat to make a matrix that looks like this:

x        y        z
alpha[0] alpha[1] alpha[2]
beta[0]  beta[1]  beta[2]

My efforts always end in an error.

Thanks for any help you can offer.

Roger


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to