[Numpy-discussion] More about data types in NumPy
Hello, Sorry for being insistent, but I recognize that I'm having a bad time with NumPy data type rational. Is there an explanation for this?: numpy.dtype('i4').type type 'numpy.int32' numpy.dtype('int32').type type 'numpy.int32' numpy.dtype('i4').type == numpy.dtype('int32').type True So far so good, but is the next the intended behaviour? numpy.typeDict['i4'] type 'numpy.int32' numpy.typeDict['int32'] type 'numpy.int32' numpy.typeDict['i4'] == numpy.typeDict['int32'] False -- 0,0 Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data - - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] (no subject)
:―― INFORMATION ―: 不正・悪質なサイトを一切排除しておりますので 安心してご利用ください。 http://love-match.bz/pc/07 :――: *・゜゜・*:.。. .。.:*・゜゜・*:.。..。:*・゜゜・*:.。..。:**・゜゜・* ━━━ □■ 不倫・ワリキリ専門の無料出会いサイト『Love☆Match』 - 登録料・利用料 ・【無料】 メールの送受信 ・【無料】 ユーザーの検索 ・【無料】 掲示板の閲覧・書込み ・・【無料】 画像交換・アップロード ・【無料】 アドレス交換・電話番号交換 ・・・【無料】 - どれだけ使っても全て無料! http://love-match.bz/pc/07 ━━━ □■ いつでも女性ユーザーがいっぱい。その理由は? - PC&モバイルに対応!いつでもどこでも気軽に楽しめる! - 仕事中は携帯電話から、プライベートは自宅からのんびりと。 気になる相手といつでも繋がっているから、新密度も急速にUP。 http://love-match.bz/pc/07 - PCから簡単プロフィール作成。ネット初心者でもラクラク参加OK - 面倒な登録は一切不要。パソコンから簡単なプロフィールを作成して 初心者の方や女性でもすぐに参加できます。 http://love-match.bz/pc/07 - 自由恋愛対応!直電・直メ交換支援ツール - 基本的にメールアドレスや電話番号は非公開ですが 仲良くなった人だけにメールアドレスや電話番号を教える事ができます。 http://love-match.bz/pc/07 - 写真アップロードに対応!好みの相手を素早くCHECK! - 待ち合わせ場所にイメージとまったく違う人が来たら…。 ピュアックスなら会う前に写真交換ができるから、そんな不安も解消。 http://love-match.bz/pc/07 - スレッド掲示板で秘密のパートナー検索も効率UP! - メインの掲示板のほかにスレッド型の掲示板を設置。 メル友から秘密のパートナーまで目的別のユーザーが集う掲示板です。 http://love-match.bz/pc/07 ━━━ □■ 毎日500人近くのユーザーが続々参加中!! □- リエ(21歳/会社員) いつも1人でエッチなことを考えてます。 メールだといろいろ話せるんだけど、実際に会うとあまりしゃべれなく なっちゃうので、盛り上げてくれるような楽しい男の人いないかな? 引っ込み思案のせいか、男性経験はあまり無いんです。 優しく&楽しくリードしてくれる男性からのメール待ってます。 [写真有り] http://love-match.bz/pc/07 □- 真菜(24歳/フリーター) 彼氏が浮気してて超アタマきたっ!まなだって遊びたい盛りだし、ずっと ガマンしてたのにさ!かっこいい人見つけて思いっきりふってやるつもりで 登録してみた(笑) [写真有り] http://love-match.bz/pc/07 □- みさ(34歳/専業主婦) 殆ど家に帰ってこない仕事人間のだんなさまと二人きりの毎日で、ほんと 寂しい思いをしています。年下の男の子がいれば仲良くなりたいな。 年下の人とは付き合ったことがないので興味津々です(^^) [写真無し] http://love-match.bz/pc/07 □- 恭子(28歳/会社員) 彼氏とはいつも同じようなセックスばかりでかなり冷め気味です。 誰かあたしと熱いセックスを楽しみませんか?めんどくさい事は 言いません。ただ、いつもと違うドキドキするような事がしたい だけなんです。 [写真無し] http://love-match.bz/pc/07 □- ななこ(28歳/主婦) 半年前にだんなと別れて今は×1です。 夜のお仕事なので、昼間まったりと過ごしませんか? 心身ともに疲れ気味で、今、激しく癒されたいです。 [写真有り] http://love-match.bz/pc/07 □- 祥子(31歳/クリエイター) 平日は18時くらいまでは大体仕事してるので、その後に食事したり 楽しく飲んだりできるパートナー希望です。年上でも年下でも かまいませんので気軽にメールを送って頂けると嬉しいです。 [写真有り] http://love-match.bz/pc/07 □- ゅヵ`(20歳/学生) まずゎ会ってみないとはじまらなぃょね?! 横浜近辺の人で、いろんな意味でオトナな人は プロフ付きでめぇる送って☆ [写真有り] http://love-match.bz/pc/07 □- 出会いサイトのサクラに騙されないように↓ ┏━━━┓ 【裏】無料の出会い情報 - お金と時間を持て余している人妻の間で、噂になってるあのサイト [登録・利用料全て無料] http://love-match.bz/pc/?07 - 彼女達が求めているのはこんな男性です。 ?年上女性にリードしてもらいたい、経験少なめの男性 ?体力・テクニックに自信が有る男性 男性会員が不足しています。我こそは、と思う方は今すぐ参加! [登録・利用料全て無料] http://love-match.bz/pc/07 ┗━━━┛ 広東省茂名市人民大街3-6-4-533 友誼網絡公司 139-3668-7892 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] numpy 1.0rc1 has problems finding blas
Thanks for the hint, that solved it! Hanno Charles R Harris [EMAIL PROTECTED] said: --=_Part_15501_7322175.1159288578594 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/26/06, Hanno Klemm [EMAIL PROTECTED] wrote: Hello, I try to build numpy 1.0rc1 with blas and lapack installed in another place than /usr/lib. I compiled blas and lapack according to the instructions on the scipy webpage and installed them under /scratch/python2.4/lib. I set the environment variables BLAS=/scratch/python2.4/lib/libfblas.a and LAPACK=/scratch/python2.4/lib/libflapack.a Try putting stuff in the site.cfg file. At one point I needed the following: [atlas] library_dirs = /usr/lib64/atlas atlas_libs = lapack, blas, cblas, atlas Chuck - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] Segfault with 64-bit, ACML, Python 2.5
On Tuesday, September 26, Robert Kern wrote: Please run numpy.test(10,10). That will print out the name of the test before running it. Thus we will find out which test is segfaulting. Robert, The last line is: Check creation from list of list of tuplesSegmentation fault This matches what gdb said. I wouldn't think there any BLAS or LAPACK calls during array creation, so that would rule out ACML as the culprit. Any quick ideas of where specifically to look? Chuck, I had a rather different setup working. I changed too many variables (python 2.4, no ACML, pre-1.0beta SVN checkout to python 2.5, ACML, yesterday SVN checkout) to be sure what is breaking. I'll regress a bit and see if I can find out what's wrong. I always remove the build directory before reinstalling, but I generally don't remove the site-packages/numpy directory. I'll start doing that. I'm fairly sure I'm not picking up 2.4's site-packages. Oh, another thing is that I had trouble with the gnu (g77) version of the ACML libraries, so I forced gfortran usage with .pydistutils.cfg. Should that break things? Thanks, Nick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
Re: [Numpy-discussion] More about data types in NumPy
Francesc Altet wrote: Hello, Sorry for being insistent, but I recognize that I'm having a bad time with NumPy data type rational. Is there an explanation for this?: numpy.dtype('i4').type type 'numpy.int32' numpy.dtype('int32').type type 'numpy.int32' numpy.dtype('i4').type == numpy.dtype('int32').type True So far so good, but is the next the intended behaviour? numpy.typeDict['i4'] type 'numpy.int32' numpy.typeDict['int32'] type 'numpy.int32' numpy.typeDict['i4'] == numpy.typeDict['int32'] No, this isn't correct behavior. This time you've caught an actual problem :-) The typeDict (actually the sctypeDict --- scalar-type-dictionary returns a scalar type given a string not a data-type object) is only used if no other conversion can be found for the object. It used to be much more useful before the data-type objects were formalized last year. -Travis - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
[Numpy-discussion] should I replace asarray with asanyarray in my code ?
Hi, This is a vaguely formulated question ... When I work with memmap'ed files/arrays I have a derived class that adds special attributes to the array class (referring to the MRC image file format used in medical / microscopy imaging) What are the pros and cons for asarray() vs. asanyarray() One obvious con for asanyarray is that its longer and asarray is what I have been using for the last few years ;-) Thanks, Sebastian - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion