Re: [Numpy-discussion] resize in old Numeric

2007-12-13 Thread Christian Meesters
Thank you all for your valuable input. Learned something 'bout Numeric again. And my problem is solved ;-). Thanks Christian ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] resize in old Numeric

2007-12-12 Thread Travis E. Oliphant
Christian Meesters wrote: > Hi, > > For compatibility reasons (work with Biopython) I would like to use to > Numeric in some code of mine. (Of course, I could make a little detour > converting into numpy.array, but first I wonder whether somebody might > know a solution for the problem with Numeric

Re: [Numpy-discussion] resize in old Numeric

2007-12-12 Thread Stefan van der Walt
Hi Christiaan On Wed, Dec 12, 2007 at 07:39:49PM +0100, Christian Meesters wrote: > I need to flatten a simple 3x3 array and try to do that with resize. > First time works, next time it doesn't. Here is an example: > > In [1]: from Numeric import * > > In [2]: a = array([[ 0.50622966, -0.5476438

Re: [Numpy-discussion] resize in old Numeric

2007-12-12 Thread Timothy Hochberg
On Dec 12, 2007 11:39 AM, Christian Meesters <[EMAIL PROTECTED]> wrote: > Hi, > > For compatibility reasons (work with Biopython) I would like to use to > Numeric in some code of mine. (Of course, I could make a little detour > converting into numpy.array, but first I wonder whether somebody might

[Numpy-discussion] resize in old Numeric

2007-12-12 Thread Christian Meesters
Hi, For compatibility reasons (work with Biopython) I would like to use to Numeric in some code of mine. (Of course, I could make a little detour converting into numpy.array, but first I wonder whether somebody might know a solution for the problem with Numeric.) I need to flatten a simple 3x3 ar