Re: [Numpy-discussion] max value of an array of lists

2010-08-19 Thread sm lkd
No need any more. Thank you anyway! --sv Date: Thu, 19 Aug 2010 14:44:14 -0700 From: jsalv...@u.washington.edu To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] max value of an array of lists You have an object array of lists? Why? On Thu, Aug 19, 2010 at 2:41 PM, sm lkd

Re: [Numpy-discussion] vectorization of vectorization

2010-08-19 Thread sm lkd
This will probably use up a bit slow/memoryintensive, so you probably want to use numexpr to speed it up a bit. On Thu, Aug 19, 2010 at 2:22 PM, sm lkd wrote: Hello, Here's my problem: for each value t of an array (from 0 to 1e6) a smaller array is computed (size between 2-6). To c

[Numpy-discussion] max value of an array of lists

2010-08-19 Thread sm lkd
Hello again, Here's a simple one. I have an array/matrix of lists (floats). array.max() or max(array) returns list (!) and not an individual value. Of course, it is possible to loop, but maybe someone knows a better way to do the same. Thanks, __

[Numpy-discussion] vectorization of vectorization

2010-08-19 Thread sm lkd
Hello, Here's my problem: for each value t of an array (from 0 to 1e6) a smaller array is computed (size between 2-6). To compute the smaller array, I have a function (which can be easily vectorized if necessary) which takes t and an array of powers of t. The return is an array of modified Be