[Numpy-discussion] upgrading to 1.6.1, lapack not used?

2011-09-13 Thread Thomas K Gamble
x27;t find libquadmath.so.0. Any ideas what might be wrong? Am I missing a dependent package somewhere? How can I force the build to use the installed lapack stuff? (installed via synaptic from the ubuntu debs) Numpy 1.5.1 builds and installs with no problems. -- Thomas K. Gamble Research Te

Re: [Numpy-discussion] broacasting question

2011-07-01 Thread Thomas K Gamble
> On Thu, Jun 30, 2011 at 11:32 AM, Thomas K Gamble > > wrote: > > I'm trying to convert some IDL code to python/numpy and i'm having some > > trouble understanding the rules for boradcasting during some operations. > > example: > > > > giv

Re: [Numpy-discussion] broacasting question

2011-07-01 Thread Thomas K Gamble
> On 30.06.2011, at 11:57PM, Thomas K Gamble wrote: > >> np.add(b.reshape(2048,3136) * c, d, out=a[:,:3136]) > >> > >> But to say whether this is really the equivalent result to what IDL > >> does, one would have to study the IDL manual in detail or direc

Re: [Numpy-discussion] broacasting question

2011-07-01 Thread Thomas K Gamble
Derek > > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion -- Thomas K. Gam

Re: [Numpy-discussion] broacasting question

2011-06-30 Thread Thomas K Gamble
> On 30.06.2011, at 7:32PM, Thomas K Gamble wrote: > > I'm trying to convert some IDL code to python/numpy and i'm having some > > trouble understanding the rules for boradcasting during some operations. > > example: > > > > given the following arr

[Numpy-discussion] broacasting question

2011-06-30 Thread Thomas K Gamble
lain this to me? -- Thomas K. Gamble tkgam...@windstream.net ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] loop vectorization

2011-03-11 Thread Thomas K Gamble
there a way to do something like: data = sum(dot(transpose(bipData), bipData)) with dot done on the desired axis of bipData? This might give a fair speed increase. Or perhaps a different approach I'm not seeing? -- Thomas K. Gamble Research Technologist, System/Network Administrator Che

Re: [Numpy-discussion] counting non-zero entries in an ndarray

2010-12-22 Thread Thomas K Gamble
0 > > will be used, but I'm not sure then how to "count" the number of "True" > entries. > > TIA. > > Ian one possibility: len(where(a != 0)[0]) -- Thomas K. Gamble Research Technologist, System/Network Administrator Chemical Diagnostics and Engi