[sage-support] benchmarking eigenvectors()

2010-04-20 Thread wb
/2, 1/2, 1/2, 1/2, 1/2, 1/2, 1/2, 1/2 (2 - Sqrt[5]), 1/2 (2 - Sqrt[5]), 1/2 (2 - Sqrt[5]), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}} Any help? Thanks. wb I hope it is allowed with this group to post the matrix. [[3/2,0,0,-1/2*I,0,0,-1/2*I,0,0,0,0,0,-1/2*I, 0,0,0,0,0,0,0,0,0,0,0,-1/2*I

[sage-support] Re: list vs. integer instances

2010-04-19 Thread wb
On Apr 20, 12:25 am, Robert Bradshaw wrote: > On Apr 19, 2010, at 2:50 PM, wb wrote: > > > coming from C I'm confused about this behavior in assignment: > > Since you know C, it may make sense to think of lists as being similar   > to pointers. > that makes se

[sage-support] list vs. integer instances

2010-04-19 Thread wb
2, 2] sage: a [1, 2] < ok in exmpl. 3) the list behaves similar to the integers in exmpl. 1). Question: is the assignment b=a+[] the only way to achieve this ? Thanks, wb -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send e

[sage-support] benchmarking 2D numerical integration

2010-04-19 Thread wb
rformance difference roughly what I should expect for this kind of task? Is there another way to do numerical integration in sage? Regards, wb -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com

[sage-support] newbie's trigonometry question

2010-04-18 Thread wb
I guess cos(k+q)-cos(k) = -2*sin(k+q/2)*sin(q/2) now, how do I get sage to trafo the lhs into the rhs (and where would I have found this in the documentation) ? Thanks, wb -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to