Re: [Tutor] Need help with arrays

2011-05-05 Thread Matt Gregory
On 5/4/2011 10:30 AM, Patrick P. wrote: Hello, I hope this is the right way to ask my question, if not, sorry to bother you. Maybe you can tell me who to ask. Ok so here is my code [snip] A = np.array([[m111,m121], [m211,m221]]) B = np.array([[m112,m122], [m212,m222]]) print(np.dot(A,B)) Trac

Re: [Tutor] Need help with arrays

2011-05-04 Thread Alan Gauld
"Patrick P." wrote I hope this is the right way to ask my question, if not, sorry to bother you. Maybe you can tell me who to ask. The way you ask the question is fine but the place is maybe not so good. This is a list for people learning Python but you are really asking about numpy so you

[Tutor] Need help with arrays

2011-05-04 Thread Patrick P .
Hello, I hope this is the right way to ask my question, if not, sorry to bother you. Maybe you can tell me who to ask. Ok so here is my code import numpy as np nH = 2.2 nL = 1.7 welle = 0.5 wurzel = (8.85*10**(-12) *