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

[sage-support] Re: how to cancel a multi-line incomplete Sage command at the command-line?

2014-08-09 Thread John H Palmieri
On Monday, August 4, 2014 7:22:45 PM UTC-7, Nils Bruin wrote: > > On Monday, August 4, 2014 1:49:42 PM UTC-7, John H Palmieri wrote: >> >> >> I can complete the command (by typing ")" then RET), and it will execute >> and give me an error because "basis" doesn't take any arguments. Or I can >>