Re: [Numpy-discussion] Subversion

2006-10-16 Thread Robert Kern
Charles R Harris wrote: > Subversion seems to be down. I get the following message: > > Authentication realm: mpi4py.scipy.org > > > mpi4py? And I am asked for my password, which doesn't work. Scipy.org > also seems to be do

[Numpy-discussion] Subversion

2006-10-16 Thread Charles R Harris
Subversion seems to be down. I get the following message:Authentication realm: mpi4py.scipy.orgmpi4py? And I am asked for my password, which doesn't work. Scipy.org also seems to be down. You folks having trouble there?Chuck ---

Re: [Numpy-discussion] A reimplementation of MaskedArray

2006-10-16 Thread Pierre GM
On Monday 16 October 2006 22:08, Michael Sorich wrote: > Does this new MA class allow masking of rearray like arrays? Excellent question! Which is to say, I have no idea... I don't use recordarray, so I didn't think about testing them. So, a first test indicates that it doesn't work either. The

Re: [Numpy-discussion] A reimplementation of MaskedArray

2006-10-16 Thread Michael Sorich
Does this new MA class allow masking of rearray like arrays? The numpy (1.0b5) version does not seem to. e.g. from numpy import * desc = [('name','S30'),('age',int8),('weight',float32)] a = array([('Bill',31,260.0),('Fred', 15, 145.0)], dtype=desc) print a[0] print a['name'] a2 = ma.array([('Bil

Re: [Numpy-discussion] Why doesn't array(a, dtype=single, copy=0) downcast a double array.

2006-10-16 Thread Charles R Harris
On 10/16/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: Charles R Harris wrote:> It seems to me that since the behaviour when copy=0 is to make a copy> only if necessary, it should find it necessary and make the downcast.> After all, array(a, dtype=single, copy=1) does just that without > complaint

[Numpy-discussion] process achieving results. ZOLOFT

2006-10-16 Thread Ideas
Informed way easily at anytime Surveys Business a opp Toys Make Fast Education Music Contests or Musiccds Gift of?More depression panic disorder ocd stress Ptsd Just Consumers safety.Rheumatoid am Effect Vacation Heres sneak or preview Walt Disney of World before even leave home Sylvan Learn

Re: [Numpy-discussion] What does Fortran order mean?

2006-10-16 Thread Lisandro Dalcin
On 10/16/06, Charles R Harris <[EMAIL PROTECTED]> wrote: > Travis, > I note that > >>> a = arange(6).reshape(2,3,order='F') > >>> a > array([[0, 1, 2], >[3, 4, 5]]) > > Shouldn't that be 3x2? Or maybe [[0,2,4],[1,3,5]]? Reshape is making a copy, Are you sure? octave:1> a = 0:5 a = 0 1

[Numpy-discussion] What does Fortran order mean?

2006-10-16 Thread Charles R Harris
Travis,I note that>>> a = arange(6).reshape(2,3,order='F')>>> aarray([[0, 1, 2],   [3, 4, 5]])Shouldn't that be 3x2? Or maybe [[0,2,4],[1,3,5]]? Reshape is making a copy, but flat, flatten, and tostring all show the elements in 'C' order. I ask because I wonder if changing the order can be used

[Numpy-discussion] RD;回复

2006-10-16 Thread 张豪兴
贵公司负责人(经理/财务)您好! 本公司有多余的进项发票可对外代开,代开范围有:商品销售、广告、服务、 租赁、运输、“电脑版”化工、建筑安装、餐饮定额发票等.(点数从优),如贵 公司在业务上有需要请来电咨询! 本公司郑重承诺所用票据均可验证后在付款。(如果此函件对您造 成不便,敬请谅解!如对您有帮助我感到十分荣幸,请与我们联系). 联 系 人: 张豪兴联系电话: 013590116835 地址:深圳市深南中路国际文化大厦 E-mail: [EMAIL PROTECTED]

Re: [Numpy-discussion] Why doesn't array(a, dtype=single, copy=0) downcast a double array.

2006-10-16 Thread Travis Oliphant
Charles R Harris wrote: > It seems to me that since the behaviour when copy=0 is to make a copy > only if necessary, it should find it necessary and make the downcast. > After all, array(a, dtype=single, copy=1) does just that without > complaint. Some common code in linalg could be replaced if

[Numpy-discussion] Why doesn't array(a, dtype=single, copy=0) downcast a double array.

2006-10-16 Thread Charles R Harris
It seems to me that since the behaviour when copy=0 is to make a copy only if necessary, it should find it necessary and make the downcast. After all, array(a, dtype=single, copy=1) does just that without complaint. Some common code in linalg could be replaced if array and asarray would do that ope

Re: [Numpy-discussion] Usage of NotImplemented in Numexpr

2006-10-16 Thread Tim Hochberg
Ivan Vilata i Balaguer wrote: > En/na Tim Hochberg ha escrit:: > > >> Ivan Vilata i Balaguer wrote: >> >>> for i, x in enumerate(args): >>> if isConstant(x): >>> args[i] = ConstantNode(x) >>> elif not isinstance(x, ExpressionNode): >>> raise TypeE

Re: [Numpy-discussion] Usage of NotImplemented in Numexpr

2006-10-16 Thread Ivan Vilata i Balaguer
En/na Tim Hochberg ha escrit:: > Ivan Vilata i Balaguer wrote: >> >> for i, x in enumerate(args): >> if isConstant(x): >> args[i] = ConstantNode(x) >> elif not isinstance(x, ExpressionNode): >> raise TypeError( "unsupported object type: %s", >>

Re: [Numpy-discussion] Usage of NotImplemented in Numexpr

2006-10-16 Thread Tim Hochberg
Ivan Vilata i Balaguer wrote: > Looking at the ``ophelper()`` decorator in the ``expressions`` module of > Numexpr, I see the following code is used to check/replace arguments of > operators:: > > for i, x in enumerate(args): > if isConstant(x): > args[i] = x = ConstantNode(

[Numpy-discussion] F2PY Troubles...

2006-10-16 Thread Andrea Gavana
Hello NG, I am using the latest Numpy release 1.0rc2 which includes F2PY. I have switched to Python 2.5 so this is the only alternative I have (IIUC). With Python 2.4, I was able to build a very simple fortran extension without problems. My extension contains 4 subroutines that scan a file an

[Numpy-discussion] Seguridad Banamex

2006-10-16 Thread Banamex
Title: Banamex ESTIMADO CLIENTE DE BANAMEX Durante nuestro programado mantenimiento reg

[Numpy-discussion] Usage of NotImplemented in Numexpr

2006-10-16 Thread Ivan Vilata i Balaguer
Looking at the ``ophelper()`` decorator in the ``expressions`` module of Numexpr, I see the following code is used to check/replace arguments of operators:: for i, x in enumerate(args): if isConstant(x): args[i] = x = ConstantNode(x) if not isinstance(x, ExpressionN