Re: [Numpy-discussion] svd + multiprocessing hangs

2013-06-13 Thread Uwe Schmitt
t; (OPENBLAS_NUM_THREADS=1). Thanks, that works ! Cheers, Uwe. -- Dr. rer. nat. Uwe Schmitt Leitung F/E Mathematik mineway GmbH Gebäude 4 Im Helmerswald 2 66121 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)681 830 4376 uschm...@mineway.de www.mineway.de Geschäftsführung: Dr.-Ing.

[Numpy-discussion] svd + multiprocessing hangs

2013-06-12 Thread Uwe Schmitt
this message is not printed" if __name__ == "__main__": p = multiprocessing.Process(target=classify, args=()) p.start() p.join() - Regards, Uwe. -- Dr. rer. nat. Uwe Schmitt Leitung F/E Mathematik mineway GmbH Gebäude 4 Im Helmerswald 2 66121 Saarbrücken Telefon

Re: [Numpy-discussion] Strange problem

2012-06-29 Thread Uwe Schmitt
am sure that this functions does not crash during execution. As spec_ 's class is derived from C++ STL std::vector<..> there should be no conflict between counting 'i' up to 'n' and testing 'it' against 'spec_.end()'. Regards, Uwe -- Dr. rer. na

[Numpy-discussion] Strange problem

2012-06-29 Thread Uwe Schmitt
reasons. The machine is not out of memory and despite this crash runs very stable. Regards, Uwe -- Dr. rer. nat. Uwe Schmitt Leitung F/E Mathematik mineway GmbH Gebäude 4 Im Helmerswald 2 66121 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)681 830 4376 uschm...@mineway.de

[Numpy-discussion] split matrix

2008-11-27 Thread Uwe Schmitt
Hi, is there an effective way to remove a row with a given index from a matrix ? Greetings, Uwe -- Dr. rer. nat. Uwe Schmitt F&E Mathematik mineway GmbH Science Park 2 D-66123 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)681 830 4376 [EMAIL PROTECTED] www.minewa

Re: [Numpy-discussion] [mailinglist] How to do: y[y

2008-10-27 Thread Uwe Schmitt
> Numpy-discussion mailing list > Numpy-discussion@scipy.org > http://projects.scipy.org/mailman/listinfo/numpy-discussion > > -- Dr. rer. nat. Uwe Schmitt F&E Mathematik mineway GmbH Science Park 2 D-66123 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)

[Numpy-discussion] Google Groups

2008-10-22 Thread Uwe Schmitt
Hi, this mailing list disappeared from google groups. Is there a reason for this ? Did I miss something ? Greetings, Uwe ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Any numpy trick for my problem ?

2008-10-15 Thread Uwe Schmitt
That's cool. Thanks for your fast answer. Greetings, Uwe On 15 Okt., 12:56, "Charles R Harris" <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 4:47 AM, Uwe Schmitt <[EMAIL PROTECTED] > > > > > wrote: > > Hi, > > > I got a matr

[Numpy-discussion] Any numpy trick for my problem ?

2008-10-15 Thread Uwe Schmitt
Hi, I got a matrix of 2100 lines, and I want to calculate blockwise mean vectors. Each block consists of 10 consecutive rows. My code looks like this: rv = [] for i in range(0, 2100, 10): rv.append( mean(matrix[i:i+10], axis=0)) return array(rv) Is there a more elegant and may

Re: [Numpy-discussion] xml-rpc with numpy arrays

2008-09-30 Thread Uwe Schmitt
Hi, in order to marshal numpy arrays, you can use the tostring() method. The inverse is the fromstring() function in numpy. But you must know dtype and shape in order to reconstruct your array. Greetings, Uwe On 30 Sep., 19:53, Brian Blais <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to u

[Numpy-discussion] cross product of two vectors as sets

2008-09-11 Thread Uwe Schmitt
Hi, I want to calculate the crossproduct (from set theory, not vectorspace crossproduct) of two vectors x,y. My method is as follows: >>> x = array([1,2,3]) >>> y = array([4,5]) >>> xx, yy = meshgrid(x,y) >>> array(zip(xx.flatten(), yy.flatten())) array([[1, 4], [2, 4], [3, 4]

Re: [Numpy-discussion] Still having issues with f2py

2008-09-11 Thread Uwe Schmitt
On 11 Sep., 02:33, "Blubaugh, David A." <[EMAIL PROTECTED]> wrote: > Mark, > ...  I > was also wondering as to what is involved with "compiling with MingW32, > by passing "-c mingw32" to setup.py."?? If you do not have the right MS compiler on your machine, you can use the mingw port of gcc inst