Re: [sage-support] Correct way to define vector function

2014-08-09 Thread William A Stein
On Sat, Aug 9, 2014 at 8:50 AM, Michael Gass wrote: > Is there a difference between the following ways to define a vector > > v = vector([1, 2, 2]) > > v = vector((1, 2, 3)) # double parentheses > > Both seem to work. Similarly for vector functions, is there a difference > between > > w = vector

[sage-support] Correct way to define vector function

2014-08-09 Thread Michael Gass
Is there a difference between the following ways to define a vector v = vector([1, 2, 2]) v = vector((1, 2, 3)) # double parentheses Both seem to work. Similarly for vector functions, is there a difference between w = vector([ cos(t), sin(t), t ]) w = vector(( cos(t), sin(t), t )) # double