On Mon, Jun 7, 2010 at 3:05 AM, dbjohn <[email protected]> wrote: > I wanted to place a line through two points represented as variables. > I can do it when explicitly giving coordinates. I wanted to do > something like this example: > pointA = point((1,1)) > pointB = point((2,2,)) > myline = line([pointA, pointB]) > > Though I am getting errors like: ValueError: need more than 1 value to > unpack > > Would there be any way to achieve this?
sage: pointA= (1,1) sage: pointB = (2,2) sage: myline = line([pointA, pointB]) sage: myline > > -- > 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 > URL: http://www.sagemath.org > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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 URL: http://www.sagemath.org
