You can subscribe to this list here.
2000 |
Jan
(8) |
Feb
(49) |
Mar
(48) |
Apr
(28) |
May
(37) |
Jun
(28) |
Jul
(16) |
Aug
(16) |
Sep
(44) |
Oct
(61) |
Nov
(31) |
Dec
(24) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(56) |
Feb
(54) |
Mar
(41) |
Apr
(71) |
May
(48) |
Jun
(32) |
Jul
(53) |
Aug
(91) |
Sep
(56) |
Oct
(33) |
Nov
(81) |
Dec
(54) |
2002 |
Jan
(72) |
Feb
(37) |
Mar
(126) |
Apr
(62) |
May
(34) |
Jun
(124) |
Jul
(36) |
Aug
(34) |
Sep
(60) |
Oct
(37) |
Nov
(23) |
Dec
(104) |
2003 |
Jan
(110) |
Feb
(73) |
Mar
(42) |
Apr
(8) |
May
(76) |
Jun
(14) |
Jul
(52) |
Aug
(26) |
Sep
(108) |
Oct
(82) |
Nov
(89) |
Dec
(94) |
2004 |
Jan
(117) |
Feb
(86) |
Mar
(75) |
Apr
(55) |
May
(75) |
Jun
(160) |
Jul
(152) |
Aug
(86) |
Sep
(75) |
Oct
(134) |
Nov
(62) |
Dec
(60) |
2005 |
Jan
(187) |
Feb
(318) |
Mar
(296) |
Apr
(205) |
May
(84) |
Jun
(63) |
Jul
(122) |
Aug
(59) |
Sep
(66) |
Oct
(148) |
Nov
(120) |
Dec
(70) |
2006 |
Jan
(460) |
Feb
(683) |
Mar
(589) |
Apr
(559) |
May
(445) |
Jun
(712) |
Jul
(815) |
Aug
(663) |
Sep
(559) |
Oct
(930) |
Nov
(373) |
Dec
|
From: Robert K. <rob...@gm...> - 2006-09-07 20:41:38
|
Martin Spacek wrote: > What's the most straightforward way to count, say, the number of 1s or > Trues in the array? Or the number of any integer? > > I was surprised to discover recently that there isn't a count() method > as there is for Python lists. Sorry if this has been discussed already, > but I'm wondering if there's a reason for its absence. Mostly, it's simply easy enough to implement yourself. Not all one-liners should be methods on the array object. (a == value).sum() Of course, there are several different things you might do. You might want to have multiple values broadcast across the array. You might want to reduce the count along a given axis. You might want to use floating point comparison with a tolerance. Putting all of those options into one method reduces the convenience of that method. Putting a crippled implementation (i.e. just that one-liner) expands the already-enormous API of the ndarray object without much benefit. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
From: Charles R H. <cha...@gm...> - 2006-09-07 20:37:11
|
On 9/7/06, Martin Spacek <sc...@ms...> wrote: > > What's the most straightforward way to count, say, the number of 1s or > Trues in the array? Or the number of any integer? I was surprised to discover recently that there isn't a count() method > as there is for Python lists. Sorry if this has been discussed already, > but I'm wondering if there's a reason for its absence. I don't know about count, but you can gin up something like this In [78]: a = ran.randint(0,2, size=(10,)) In [79]: a Out[79]: array([0, 1, 0, 1, 1, 0, 0, 1, 1, 1]) In [80]: b = sort(a) In [81]: b.searchsorted(1, side='right') - b.searchsorted(1, side='left') Out[81]: 6 Which counts the number of ones in a. I came across a thread in March: > > http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/3066460 > > that talked a bit about this in terms of speed, but what about just the > convenience of having a count() method? > > Looks like masked arrays have a count method, don't know much about them > though. > > Also, I understand the inaccuracies when converting between binary and > decimal floating point representations, and therefore making counting of > a specific float value in an array somewhat undefined, yet it seems to > work in Python lists: > > >>> 1.1 > 1.1000000000000001 > >>> a=[1.1, 1.1, 1.2] > >>> a > [1.1000000000000001, 1.1000000000000001, 1.2] > >>> a.count(1.1) > 2 > >>> a.count(1.1000000000000001) > 2 > >>> a.count(1.2) > 1 Well, 1.1 == 1.1000000000000001 and that doesn't change. You probably need to use different precisions to run into problems. Chuck |
From: Martin S. <sc...@ms...> - 2006-09-07 20:18:05
|
What's the most straightforward way to count, say, the number of 1s or Trues in the array? Or the number of any integer? I was surprised to discover recently that there isn't a count() method as there is for Python lists. Sorry if this has been discussed already, but I'm wondering if there's a reason for its absence. I came across a thread in March: http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/3066460 that talked a bit about this in terms of speed, but what about just the convenience of having a count() method? Looks like masked arrays have a count method, don't know much about them though. Also, I understand the inaccuracies when converting between binary and decimal floating point representations, and therefore making counting of a specific float value in an array somewhat undefined, yet it seems to work in Python lists: >>> 1.1 1.1000000000000001 >>> a=[1.1, 1.1, 1.2] >>> a [1.1000000000000001, 1.1000000000000001, 1.2] >>> a.count(1.1) 2 >>> a.count(1.1000000000000001) 2 >>> a.count(1.2) 1 Comments? Martin |
From: Glen W. M. <Gle...@sw...> - 2006-09-07 19:34:29
|
A long time ago, Travis wrote: > On a related, but orthogonal note: > > My understanding is that using memory-mapped files for *very* large > files will require modification to the mmap module in Python --- > something I think we should push. One part of that process would be > to add the C-struct array interface to the mmap module and the buffer > object -- perhaps this is how we get the array interface into Python > quickly. Then, if we could make a base-type mmap that did not use > the buffer interface or the sequence interface (similar to the > bigndarray in scipy_core) and therefore by-passed the problems with > Python in those areas, then the current mmap object could inherit from > the base class and provide current functionality while still exposing > the array interface for access to >2GB files on 64-bit systems. > > Who would like to take up the ball for modifying mmap in Python in > this fashion? > > -Travis Did anyone ever "pick up the ball" on this issue? Glen |
From: Charles R H. <cha...@gm...> - 2006-09-07 19:29:53
|
On 9/7/06, Charles R Harris <cha...@gm...> wrote: > > > > On 9/7/06, Travis Oliphant <oli...@ie...> wrote: > > > > Charles R Harris wrote: > > > On 9/6/06, *Charles R Harris* <cha...@gm... > > > <mailto:cha...@gm... >> wrote: > > > > > > > > > > > > On 9/6/06, *Travis Oliphant* < oli...@ie... > > > <mailto: oli...@ie...>> wrote: > > > > > > Charles R Harris wrote: > > > > > > > > Where is array at this point? > > > Basically it supports the old Numeric behavior wherein object > > > array's > > > are treated as before *except* for when an error would have > > > occurred > > > previously when the "new behavior" kicks in. Anything that > > > violates > > > that is a bug needing to be fixed. > > > > > > This leaves the new object-array constructor used less > > > often. It could > > > be exported explicitly into an oarray constructor, but I'm not > > > > > sure > > > about the advantages of that approach. There are benefits to > > > having > > > object arrays constructed in the same way as other arrays. It > > > turns out > > > many people actually like that feature of Numeric, which is > > > the reason I > > > didn't go the route of numarray which pulled object arrays > > out. > > > > > > At this point, however, object arrays can even be part of > > > records and so > > > need to be an integral part of the data-type description. > > > Pulling that > > > out is not going to happen. A more intelligent object-array > > > constructor, however, may be a useful tool. > > > > > > > > > OK. I do have a couple of questions. Let me insert the docs for > > > array and asarray : > > > > > > """array(object, dtype=None, copy=1,order=None, > > subok=0,ndmin=0) > > > > > > Return an array from object with the specified date-type. > > > > > > Inputs: > > > object - an array, any object exposing the array interface, > > any > > > object whose __array__ method returns an array, or > > any > > > (nested) sequence. > > > dtype - The desired data-type for the array. If not given, > > > then > > > the type will be determined as the minimum type > > > required > > > to hold the objects in the sequence. This > > > argument can only > > > be used to 'upcast' the array. For downcasting, > > > use the > > > .astype(t) method. > > > copy - If true, then force a copy. Otherwise a copy will > > > only occur > > > if __array__ returns a copy, obj is a nested > > > sequence, or > > > a copy is needed to satisfy any of the other > > > requirements > > > order - Specify the order of the array. If order is 'C', > > > then the > > > array will be in C-contiguous order (last-index > > > varies the > > > fastest). If order is 'FORTRAN', then the > > > returned array > > > will be in Fortran-contiguous order (first-index > > > varies the > > > fastest). If order is None, then the returned > > > array may > > > be in either C-, or Fortran-contiguous order or > > even > > > discontiguous. > > > subok - If True, then sub-classes will be passed-through, > > > otherwise > > > the returned array will be forced to be a > > > base-class array > > > ndmin - Specifies the minimum number of dimensions that the > > > resulting > > > array should have. 1's will be pre-pended to the > > > shape as > > > needed to meet this requirement. > > > > > > """) > > > > > > asarray(a, dtype=None, order=None) > > > Returns a as an array. > > > > > > Unlike array(), no copy is performed if a is already an array. > > > Subclasses > > > are converted to base class ndarray. > > > > > > 1) Is it true that array doesn't always return a copy except by > > > default? asarray says it contrasts with array in this regard. > > > Maybe copy=0 should be deprecated. > > > > > > 2) Is asarray is basically array with copy=0? > > > > > > 3) Is asanyarray basically array with copy=0 and subok=1? > > > > > > 4) Is there some sort of precedence table for conversions? To me > > > it looks like the most deeply nested lists are converted to arrays > > > first, numeric if they contain all numeric types, object > > > otherwise. I assume the algorithm then ascends up through the > > > hierarchy like traversing a binary tree in postorder? > > > > > > 5) All nesting must be to the same depth and the deepest nested > > > items must have the same length. > > > > > > 6) How is the difference between lists and "lists" determined, i.e > > ., > > > > > > In [3]: array([list([1,2,3]),list([1,2])], dtype = object) > > > Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) > > > > > > In [8]: array([array([1,2,3]),array([1,2])], dtype = object) > > > Out[8]: array([[1 2 3], [1 2]], dtype=object) > > > > > > > > > In [9]: array([1,2,3],[1,2]], dtype = object) > > > ------------------------------------------------------------ > > > File "<ipython console>", line 1 > > > array([1,2,3],[1,2]], dtype = object) > > > ^ > > > SyntaxError: invalid syntax > > > > > > Is the difference that list(...) and array(...) are passed as > > > functions (lazy evaluation), but a list is just a list? > > > > > > Sorry to be asking all these questions, but I would like to try > > > making the documentation be a bit of a reference. I am sure I will > > > have more questions ;) > > > > > > -Travis > > > > > > > > > And, voila, ragged arrays: > > > > > > In [9]: a = array([array([1,2,3]),array([1,2])], dtype = object) > > > > > > In [10]: a*2 > > > Out[10]: array([[2 4 6], [2 4]], dtype=object) > > > > > > In [11]: a + a > > > Out[11]: array([[2 4 6], [2 4]], dtype=object) > > > > Now I remember that this was my original motivation for futzing with the > > > > object-array constructor in the first place. So, now you get there only > > after an attempt to make a "rectangular" array first. > > > > -Travis > > > So is this intentional? > > In [24]: a = array([[],[],[]], dtype=object) > > In [25]: a.shape > Out[25]: (3, 0) > > In [26]: a = array([], dtype=object) > > In [27]: a.shape > Out[27]: (0,) > > One could argue that the first array should have shape (3,) > And this doesn't look quite right: In [38]: a = array([[1],[2],[3]], dtype=object) In [39]: a.shape Out[39]: (3, 1) In [40]: a = array([[1],[2,3],[4,5]], dtype=object) In [41]: a.shape Out[41]: (3,) Chuck |
From: Charles R H. <cha...@gm...> - 2006-09-07 19:22:04
|
On 9/7/06, Travis Oliphant <oli...@ie...> wrote: > > Charles R Harris wrote: > > On 9/6/06, *Charles R Harris* <cha...@gm... > > <mailto:cha...@gm...>> wrote: > > > > > > > > On 9/6/06, *Travis Oliphant* < oli...@ie... > > <mailto:oli...@ie...>> wrote: > > > > Charles R Harris wrote: > > > > > > Where is array at this point? > > Basically it supports the old Numeric behavior wherein object > > array's > > are treated as before *except* for when an error would have > > occurred > > previously when the "new behavior" kicks in. Anything that > > violates > > that is a bug needing to be fixed. > > > > This leaves the new object-array constructor used less > > often. It could > > be exported explicitly into an oarray constructor, but I'm not > > sure > > about the advantages of that approach. There are benefits to > > having > > object arrays constructed in the same way as other arrays. It > > turns out > > many people actually like that feature of Numeric, which is > > the reason I > > didn't go the route of numarray which pulled object arrays out. > > > > At this point, however, object arrays can even be part of > > records and so > > need to be an integral part of the data-type description. > > Pulling that > > out is not going to happen. A more intelligent object-array > > constructor, however, may be a useful tool. > > > > > > OK. I do have a couple of questions. Let me insert the docs for > > array and asarray : > > > > """array(object, dtype=None, copy=1,order=None, subok=0,ndmin=0) > > > > Return an array from object with the specified date-type. > > > > Inputs: > > object - an array, any object exposing the array interface, > any > > object whose __array__ method returns an array, or > any > > (nested) sequence. > > dtype - The desired data-type for the array. If not given, > > then > > the type will be determined as the minimum type > > required > > to hold the objects in the sequence. This > > argument can only > > be used to 'upcast' the array. For downcasting, > > use the > > .astype(t) method. > > copy - If true, then force a copy. Otherwise a copy will > > only occur > > if __array__ returns a copy, obj is a nested > > sequence, or > > a copy is needed to satisfy any of the other > > requirements > > order - Specify the order of the array. If order is 'C', > > then the > > array will be in C-contiguous order (last-index > > varies the > > fastest). If order is 'FORTRAN', then the > > returned array > > will be in Fortran-contiguous order (first-index > > varies the > > fastest). If order is None, then the returned > > array may > > be in either C-, or Fortran-contiguous order or even > > discontiguous. > > subok - If True, then sub-classes will be passed-through, > > otherwise > > the returned array will be forced to be a > > base-class array > > ndmin - Specifies the minimum number of dimensions that the > > resulting > > array should have. 1's will be pre-pended to the > > shape as > > needed to meet this requirement. > > > > """) > > > > asarray(a, dtype=None, order=None) > > Returns a as an array. > > > > Unlike array(), no copy is performed if a is already an array. > > Subclasses > > are converted to base class ndarray. > > > > 1) Is it true that array doesn't always return a copy except by > > default? asarray says it contrasts with array in this regard. > > Maybe copy=0 should be deprecated. > > > > 2) Is asarray is basically array with copy=0? > > > > 3) Is asanyarray basically array with copy=0 and subok=1? > > > > 4) Is there some sort of precedence table for conversions? To me > > it looks like the most deeply nested lists are converted to arrays > > first, numeric if they contain all numeric types, object > > otherwise. I assume the algorithm then ascends up through the > > hierarchy like traversing a binary tree in postorder? > > > > 5) All nesting must be to the same depth and the deepest nested > > items must have the same length. > > > > 6) How is the difference between lists and "lists" determined, i.e., > > > > In [3]: array([list([1,2,3]),list([1,2])], dtype = object) > > Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) > > > > In [8]: array([array([1,2,3]),array([1,2])], dtype = object) > > Out[8]: array([[1 2 3], [1 2]], dtype=object) > > > > > > In [9]: array([1,2,3],[1,2]], dtype = object) > > ------------------------------------------------------------ > > File "<ipython console>", line 1 > > array([1,2,3],[1,2]], dtype = object) > > ^ > > SyntaxError: invalid syntax > > > > Is the difference that list(...) and array(...) are passed as > > functions (lazy evaluation), but a list is just a list? > > > > Sorry to be asking all these questions, but I would like to try > > making the documentation be a bit of a reference. I am sure I will > > have more questions ;) > > > > -Travis > > > > > > And, voila, ragged arrays: > > > > In [9]: a = array([array([1,2,3]),array([1,2])], dtype = object) > > > > In [10]: a*2 > > Out[10]: array([[2 4 6], [2 4]], dtype=object) > > > > In [11]: a + a > > Out[11]: array([[2 4 6], [2 4]], dtype=object) > > Now I remember that this was my original motivation for futzing with the > object-array constructor in the first place. So, now you get there only > after an attempt to make a "rectangular" array first. > > -Travis So is this intentional? In [24]: a = array([[],[],[]], dtype=object) In [25]: a.shape Out[25]: (3, 0) In [26]: a = array([], dtype=object) In [27]: a.shape Out[27]: (0,) One could argue that the first array should have shape (3,) Chuck |
From: Sven S. <sve...@gm...> - 2006-09-07 13:29:39
|
Hi, never mind that the following syntax is wrong, but is it supposed to yield that SystemError instead of something more informative? (This is with b5 on win32 and python 2.4.3) >>> b.reshape(3,3,axis = 1) Traceback (most recent call last): File "<interactive input>", line 1, in ? SystemError: NULL result without error in PyObject_Call -sven |
From: Ivan V. i B. <iv...@ca...> - 2006-09-07 12:13:00
|
Hi all, I've detected some small errors in the patches I sent some time ago for adding Int64 and string support to numexpr (see http://www.mail-archive.com/numpy-discussion%40lists.sourceforge.net/msg01551.html). Basically: * ``numpy.string`` was accessed instead of ``numpy.string_`` (looks like one of those not-so-just-aesthetical last-time changes). * The ``copy_args`` argument to ``evaluate()`` and others was no longer needed since discontiguous/unaligned arrays are no longer a special case. I have attached the necessary patch. Bye! :: Ivan Vilata i Balaguer >qo< http://www.carabos.com/ Cárabos Coop. V. V V Enjoy Data "" |
From: <zd...@to...> - 2006-09-07 07:14:00
|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> <style type="text/css"> <!-- .td { font-size: 12px; color: #313131; line-height: 20px; font-family: "Arial", "Helvetica", "sans-serif"; } --> </style> </head> <body leftmargin="0" background="http://bo.sohu.com//images/img20040502/dj_bg.gif"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="31" background="http://igame.sina.com.cn/club/images/topmenu/topMenu_8.gif" class="td"><div align="center"><font color="#FFFFFF">主办单位:易腾企业管理咨询有限公司</font></div></td> </tr> </table> <br> <table width="683" border="0" align="center" cellpadding="0" cellspacing="0" height="1181"> <tr> <td height="71" bgcolor="#8C8C8C" width="681"> <div align="center"> <table width="100%" border="0" cellspacing="1" cellpadding="0" height="76"> <tr> <td height="74" bgcolor="#F3F3F3"><div align="center"> <span lang="zh-cn"><font size="6">DOE田口式品质工程</font></span></div></td> </tr> </table> </div></td> </tr> <tr> <td height="1105" bgcolor="#FFFFFF" width="681"> <div align="center"> <table width="680" border="0" cellspacing="0" cellpadding="0" height="48"> <tr> <td width="119" height="22" bgcolor="#BF0000" class="td"> <div align="center"><font color="#FFFFFF">[课 程 背 景]</font></div></td> <td width="557" class="td" height="22"> </td> </tr> <tr> <td height="26" colspan="2" class="td" width="678"> <p ALIGN="JUSTIFY"><font LANG="ZH-CN"> <font size="2"> </font></font><font size="2" lang="ZH-CN">日本的田口玄一博士所倡导的使用直交表进行实验设计的方法,因为能够快速找到质量成本最低的技术方案,迅速被广大研发和工艺管理人员所采用,成为战后日本企业品质快速进步的有力武器,为日本产品在世界各国市场上的大获全胜起到了不可估量的作用。近几年风靡全球的6Sigma设计,实际上就是以田口方法为核心的设计,6Sigma设计及田口方法在制造业中的广泛应用已收到显著效果,被当作有效改善制程、缩短研发周期一半的重要工具与关键技术。<br> 易腾企管拟透过本课程,为从事产品开发和工艺改善的管理和技术人员提供一个快速的技术突破手段,提高企业的技术创新能力<br> 本课程旨在: <br> 协助研发工程人员以最少的实验次数,快速寻找最佳的制程参数组合条件,筛选出最优设计方案,大量减少实验次数缩短产品开发周期,降低实验成本,以最短的时间响应客户的新需求;<br> 协助质量改进人员分析影响质量稳定性水平的因素,使所设计的产品质量稳定、波动性小,降低质量成本;<br> 协助生产工艺人员掌握快速寻找最佳工艺参数的方法,提高过程能力指数; 提高包括工程师、改善人员及车间班组长“改善制造过程、降低制造成本”的技能.</font></td> </tr> </table> </div> <div align="center" style="width: 671; height: 1"> </div> <div align="center"> <table width="681" height="84" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="113" height="20" bgcolor="#0080C0" class="td"> <div align="center"><font color="#FFFFFF">[课 程 大 纲]</font></div></td> <td width="564" class="td"> </td> </tr> <tr> <td height="64" colspan="2" class="td" width="679"> <p> <font size="2"><b><font color="#FF0000">1.田口式品质工程的思想方法</font></b><br> 田口式品管概念<br> 品质成本测算--田口式质量损失函数(Loss Function)<br> 田口式off-line品管概念及参数设计法:<br> 设计出总成本最低的最优化的制造方法(参数)<br> <br> <b> <font color="#FF0000"> 2.田口式实验计划法的原理</font></b><br> 品质特性<br> 变异与杂音<br> 线外品管<br> 望大特性<br> 望小特性<br> 望目特性<br> <br> <b> <font color="#FF0000"> 3.正交表的灵活运用</font></b><br> 正交表与点线图<br> 如何计算自由度和选择正交表<br> 点线图与交互作用配行表<br> 二水平正交表<br> 三水平正交表<br> 多水平法<br> 参数设计<br> 内外直交表e<br> <br> <b> <font color="#FF0000"> 4. 数据分析与数据处理方法</font></b><br> 正交表数据分析<br> 响应表与响应图<br> 望小特性的信号杂音比法数据处理和最优化选择<br> 望大特性的信号杂音比法数据处理和最优化选择<br> 望目特性的信号杂音比法数据处理和最优化选择<br> <br> <b> <font color="#FF0000"> 5. 如何通过实验设计获得最优配置</font></b><br> 如何选用直交表进行实验设计<br> 运用响应表和响应图进行数据分析<br> 运用S/N信号杂音比进行数据分析<br> 如何选择可控因素的最佳水准<br> 如何通过确认实验确定最佳的技术条件<br> <br> <b> <font color="#FF0000"> 6.田口式品质工程运用的经典案例</font></b><br> 日本某建材厂的磁砖尺寸一致性的改进<br> 铜线镀锡的锡膜厚度均匀性的最佳条件选择<br> 某著名空调设备公司空调器EER值的稳定性研究<br> 光导纤维材料的光电转化效率研究<br> 某电路板厂回流焊工序的工艺研究<br> 某橡胶制品公司的配方研究</font><br> </p></td> </tr> </table> <table width="681" height="186" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="117" height="24" bgcolor="#0080C0" class="td"> <div align="center"><font color="#FFFFFF">[导 师 简 介]</font></div></td> <td width="560" class="td" height="24"> </td> </tr> <tr> <td height="162" colspan="2" class="td" width="679"> <p> <font size="2">周老师:易腾企管资深顾问、工学硕士,田口式品质工程推进委员会委员,中国价值工程协会理事,国际职业培训师协会认证职业培训师,曾在科学院研究所、复星高科、美国INTEX公司等高科技企业/研发机构从事产品和工艺开发十余年,主持过多个项目,先后担任过研发工程师、项目经理、技术总监等职务。周老师有丰富的产品开发实务、项目管理经验,曾辅导/培训的客户有:IBM、TDK、松下、联想手机、美国ITT集团、NEC东金电子、TCL、东方通信、PHILIPS、深圳开发科技、大冷王运输制冷、华凌空调、中兴通讯、京信通信、正大集团大福饲料、冠捷电子、华为、可口可乐、正新橡胶、长城计算机、明基、太原钢铁集团公司、柳州汽车、格力电器、李尔长安汽车配件、楼氏电子、德国博世、梅特乐-托利多衡器、关西涂料、厦华电子、金山石化、巨霸机电等等。周老师授课经验丰富,风格幽默诙谐、逻辑清晰、过程互动,案例生动、深受学员喜爱。</font> </p></td> </tr> </table> </div> <div align="center"> <table width="680" border="0" cellpadding="0" cellspacing="0" height="62"> <tr> <td width="132" height="23" bgcolor="#0080C0" class="td"> <div align="center"><font color="#FFFFFF">[时间/地点/联系方式]</font></div></td> <td width="547" class="td" height="23"> </td> </tr> <tr> <td height="39" colspan="2" class="td" width="680"> <p><font size="2">(注订退):如您不需要此邮件,请发送邮件至: ts...@to... 并在邮件标题中注明 (订退邮件)</font></p> </td> </tr> </table> </div> <table width="681" height="45" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="25" class="td" width="679"> <p style="line-height: 200%"><font size="2"><b>时间:</b> 06年9月21-22日 <font color="#FF0000"> 地点:</font> 上海 2400/人 四人以上参加,赠予一名名额<b><br> 咨询热线:021-51187132</b> 刘小姐 (欢迎企业定制)</font></p> </td> </tr> </table> </td> </tr> </table> </body> </html> |
From: Travis O. <oli...@ie...> - 2006-09-07 07:03:07
|
Charles R Harris wrote: > OK. I do have a couple of questions. Let me insert the docs for array > and asarray : > > """array(object, dtype=None, copy=1,order=None, subok=0,ndmin=0) > > Return an array from object with the specified date-type. > > 1) Is it true that array doesn't always return a copy except by > default? asarray says it contrasts with array in this regard. Maybe > copy=0 should be deprecated. array is the main creation function. It is a loose wrapper around PyArray_fromAny. copy=0 means don't copy unless you have to. > 2) Is asarray is basically array with copy=0? Yes. > > 3) Is asanyarray basically array with copy=0 and subok=1? Yes. > > 4) Is there some sort of precedence table for conversions? To me it > looks like the most deeply nested lists are converted to arrays first, > numeric if they contain all numeric types, object otherwise. I assume > the algorithm then ascends up through the hierarchy like traversing a > binary tree in postorder? I'm not sure I understand what you mean. The discover-depth and discover-dimensions algorithm figures out what the shape should be and then recursive PySequence_GetItem and PySequence_SetItem is used to copy the information over to the ndarray from the nested sequence. > > 5) All nesting must be to the same depth and the deepest nested items > must have the same length. Yes, there are routines discover_depth and discover_dimensions that are the actual algorithm used. These are adapted from Numeric. > > 6) How is the difference between lists and "lists" determined, i.e., > > In [3]: array([list([1,2,3]),list([1,2])], dtype = object) > Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) > > In [8]: array([array([1,2,3]),array([1,2])], dtype = object) > Out[8]: array([[1 2 3], [1 2]], dtype=object) > > > In [9]: array([1,2,3],[1,2]], dtype = object) > ------------------------------------------------------------ > File "<ipython console>", line 1 > array([1,2,3],[1,2]], dtype = object) > ^ > SyntaxError: invalid syntax I think this is just due to a missing [ in In [9]. There is no semantic difference between list([1,2,3]) and [1,2,3] (NumPy will see those things as exactly the same). > > Is the difference that list(...) and array(...) are passed as > functions (lazy evaluation), but a list is just a list? There is nothing like "lazy evaluation" going on. array([1,2,3]) is evaluated returning an object and array([1,2]) is evaluated returning an object and then the two are put into another object array. Equivalent code a = array([1,2,3]) b = array([1,2]) c = array([a,b],dtype=object) Thanks for all your help with documentation. It is very-much appreciated. -Travis |
From: Travis O. <oli...@ie...> - 2006-09-07 06:54:46
|
Charles R Harris wrote: > On 9/6/06, *Charles R Harris* <cha...@gm... > <mailto:cha...@gm...>> wrote: > > > > On 9/6/06, *Travis Oliphant* < oli...@ie... > <mailto:oli...@ie...>> wrote: > > Charles R Harris wrote: > > > > Where is array at this point? > Basically it supports the old Numeric behavior wherein object > array's > are treated as before *except* for when an error would have > occurred > previously when the "new behavior" kicks in. Anything that > violates > that is a bug needing to be fixed. > > This leaves the new object-array constructor used less > often. It could > be exported explicitly into an oarray constructor, but I'm not > sure > about the advantages of that approach. There are benefits to > having > object arrays constructed in the same way as other arrays. It > turns out > many people actually like that feature of Numeric, which is > the reason I > didn't go the route of numarray which pulled object arrays out. > > At this point, however, object arrays can even be part of > records and so > need to be an integral part of the data-type description. > Pulling that > out is not going to happen. A more intelligent object-array > constructor, however, may be a useful tool. > > > OK. I do have a couple of questions. Let me insert the docs for > array and asarray : > > """array(object, dtype=None, copy=1,order=None, subok=0,ndmin=0) > > Return an array from object with the specified date-type. > > Inputs: > object - an array, any object exposing the array interface, any > object whose __array__ method returns an array, or any > (nested) sequence. > dtype - The desired data-type for the array. If not given, > then > the type will be determined as the minimum type > required > to hold the objects in the sequence. This > argument can only > be used to 'upcast' the array. For downcasting, > use the > .astype(t) method. > copy - If true, then force a copy. Otherwise a copy will > only occur > if __array__ returns a copy, obj is a nested > sequence, or > a copy is needed to satisfy any of the other > requirements > order - Specify the order of the array. If order is 'C', > then the > array will be in C-contiguous order (last-index > varies the > fastest). If order is 'FORTRAN', then the > returned array > will be in Fortran-contiguous order (first-index > varies the > fastest). If order is None, then the returned > array may > be in either C-, or Fortran-contiguous order or even > discontiguous. > subok - If True, then sub-classes will be passed-through, > otherwise > the returned array will be forced to be a > base-class array > ndmin - Specifies the minimum number of dimensions that the > resulting > array should have. 1's will be pre-pended to the > shape as > needed to meet this requirement. > > """) > > asarray(a, dtype=None, order=None) > Returns a as an array. > > Unlike array(), no copy is performed if a is already an array. > Subclasses > are converted to base class ndarray. > > 1) Is it true that array doesn't always return a copy except by > default? asarray says it contrasts with array in this regard. > Maybe copy=0 should be deprecated. > > 2) Is asarray is basically array with copy=0? > > 3) Is asanyarray basically array with copy=0 and subok=1? > > 4) Is there some sort of precedence table for conversions? To me > it looks like the most deeply nested lists are converted to arrays > first, numeric if they contain all numeric types, object > otherwise. I assume the algorithm then ascends up through the > hierarchy like traversing a binary tree in postorder? > > 5) All nesting must be to the same depth and the deepest nested > items must have the same length. > > 6) How is the difference between lists and "lists" determined, i.e., > > In [3]: array([list([1,2,3]),list([1,2])], dtype = object) > Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) > > In [8]: array([array([1,2,3]),array([1,2])], dtype = object) > Out[8]: array([[1 2 3], [1 2]], dtype=object) > > > In [9]: array([1,2,3],[1,2]], dtype = object) > ------------------------------------------------------------ > File "<ipython console>", line 1 > array([1,2,3],[1,2]], dtype = object) > ^ > SyntaxError: invalid syntax > > Is the difference that list(...) and array(...) are passed as > functions (lazy evaluation), but a list is just a list? > > Sorry to be asking all these questions, but I would like to try > making the documentation be a bit of a reference. I am sure I will > have more questions ;) > > -Travis > > > And, voila, ragged arrays: > > In [9]: a = array([array([1,2,3]),array([1,2])], dtype = object) > > In [10]: a*2 > Out[10]: array([[2 4 6], [2 4]], dtype=object) > > In [11]: a + a > Out[11]: array([[2 4 6], [2 4]], dtype=object) Now I remember that this was my original motivation for futzing with the object-array constructor in the first place. So, now you get there only after an attempt to make a "rectangular" array first. -Travis |
From: A. M. A. <per...@gm...> - 2006-09-07 02:18:40
|
On 06/09/06, Charles R Harris <cha...@gm...> wrote: > On 9/6/06, Charles R Harris <cha...@gm...> wrote: > > > order - Specify the order of the array. If order is 'C', then the > > array will be in C-contiguous order (last-index varies the > > fastest). If order is 'FORTRAN', then the returned array > > will be in Fortran-contiguous order (first-index varies > the > > fastest). If order is None, then the returned array may > > be in either C-, or Fortran-contiguous order or even > > discontiguous. This one's a bit complicated. If array() is passed a list of lists, there are two different orders that are relevant - the output order of the array, and the order used to interpret the input. I suppose that if L is a lost of lists, array(L)[2,3]==L[2][3], that is, in some sense the arrays are always logically C-ordered even if the underlying representation is different. Does it make sense to specify this somewhere in the docstring? At least it would be good to make it clear that the order parameter affects only the underlying storage format, and not the indexing of the array. A. M. Archibald |
From: Charles R H. <cha...@gm...> - 2006-09-07 01:52:45
|
On 9/6/06, Charles R Harris <cha...@gm...> wrote: > > > > On 9/6/06, Travis Oliphant <oli...@ie...> wrote: > > > > Charles R Harris wrote: > > > > > > Where is array at this point? > > Basically it supports the old Numeric behavior wherein object array's > > are treated as before *except* for when an error would have occurred > > previously when the "new behavior" kicks in. Anything that violates > > that is a bug needing to be fixed. > > > > This leaves the new object-array constructor used less often. It could > > be exported explicitly into an oarray constructor, but I'm not sure > > about the advantages of that approach. There are benefits to having > > object arrays constructed in the same way as other arrays. It turns out > > many people actually like that feature of Numeric, which is the reason I > > didn't go the route of numarray which pulled object arrays out. > > > > At this point, however, object arrays can even be part of records and so > > need to be an integral part of the data-type description. Pulling that > > out is not going to happen. A more intelligent object-array > > constructor, however, may be a useful tool. > > > OK. I do have a couple of questions. Let me insert the docs for array and > asarray : > > """array(object, dtype=None, copy=1,order=None, subok=0,ndmin=0) > > Return an array from object with the specified date-type. > > Inputs: > object - an array, any object exposing the array interface, any > object whose __array__ method returns an array, or any > (nested) sequence. > dtype - The desired data-type for the array. If not given, then > the type will be determined as the minimum type required > to hold the objects in the sequence. This argument can > only > be used to 'upcast' the array. For downcasting, use the > .astype(t) method. > copy - If true, then force a copy. Otherwise a copy will only > occur > if __array__ returns a copy, obj is a nested sequence, or > a copy is needed to satisfy any of the other requirements > order - Specify the order of the array. If order is 'C', then the > array will be in C-contiguous order (last-index varies the > fastest). If order is 'FORTRAN', then the returned array > will be in Fortran-contiguous order (first-index varies > the > fastest). If order is None, then the returned array may > be in either C-, or Fortran-contiguous order or even > discontiguous. > subok - If True, then sub-classes will be passed-through, otherwise > the returned array will be forced to be a base-class array > ndmin - Specifies the minimum number of dimensions that the > resulting > array should have. 1's will be pre-pended to the shape as > needed to meet this requirement. > > """) > > asarray(a, dtype=None, order=None) > Returns a as an array. > > Unlike array(), no copy is performed if a is already an array. > Subclasses > are converted to base class ndarray. > > 1) Is it true that array doesn't always return a copy except by default? > asarray says it contrasts with array in this regard. Maybe copy=0 should be > deprecated. > > 2) Is asarray is basically array with copy=0? > > 3) Is asanyarray basically array with copy=0 and subok=1? > > 4) Is there some sort of precedence table for conversions? To me it looks > like the most deeply nested lists are converted to arrays first, numeric if > they contain all numeric types, object otherwise. I assume the algorithm > then ascends up through the hierarchy like traversing a binary tree in > postorder? > > 5) All nesting must be to the same depth and the deepest nested items must > have the same length. > > 6) How is the difference between lists and "lists" determined, i.e., > > In [3]: array([list([1,2,3]),list([1,2])], dtype = object) > Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) > > In [8]: array([array([1,2,3]),array([1,2])], dtype = object) > Out[8]: array([[1 2 3], [1 2]], dtype=object) > > > In [9]: array([1,2,3],[1,2]], dtype = object) > ------------------------------------------------------------ > File "<ipython console>", line 1 > array([1,2,3],[1,2]], dtype = object) > ^ > SyntaxError: invalid syntax > > Is the difference that list(...) and array(...) are passed as functions > (lazy evaluation), but a list is just a list? > > Sorry to be asking all these questions, but I would like to try making the > documentation be a bit of a reference. I am sure I will have more questions > ;) > > -Travis > > And, voila, ragged arrays: In [9]: a = array([array([1,2,3]),array([1,2])], dtype = object) In [10]: a*2 Out[10]: array([[2 4 6], [2 4]], dtype=object) In [11]: a + a Out[11]: array([[2 4 6], [2 4]], dtype=object) Chuck |
From: Charles R H. <cha...@gm...> - 2006-09-07 01:18:39
|
On 9/6/06, Travis Oliphant <oli...@ie...> wrote: > > Charles R Harris wrote: > > > > Where is array at this point? > Basically it supports the old Numeric behavior wherein object array's > are treated as before *except* for when an error would have occurred > previously when the "new behavior" kicks in. Anything that violates > that is a bug needing to be fixed. > > This leaves the new object-array constructor used less often. It could > be exported explicitly into an oarray constructor, but I'm not sure > about the advantages of that approach. There are benefits to having > object arrays constructed in the same way as other arrays. It turns out > many people actually like that feature of Numeric, which is the reason I > didn't go the route of numarray which pulled object arrays out. > > At this point, however, object arrays can even be part of records and so > need to be an integral part of the data-type description. Pulling that > out is not going to happen. A more intelligent object-array > constructor, however, may be a useful tool. OK. I do have a couple of questions. Let me insert the docs for array and asarray : """array(object, dtype=None, copy=1,order=None, subok=0,ndmin=0) Return an array from object with the specified date-type. Inputs: object - an array, any object exposing the array interface, any object whose __array__ method returns an array, or any (nested) sequence. dtype - The desired data-type for the array. If not given, then the type will be determined as the minimum type required to hold the objects in the sequence. This argument can only be used to 'upcast' the array. For downcasting, use the .astype(t) method. copy - If true, then force a copy. Otherwise a copy will only occur if __array__ returns a copy, obj is a nested sequence, or a copy is needed to satisfy any of the other requirements order - Specify the order of the array. If order is 'C', then the array will be in C-contiguous order (last-index varies the fastest). If order is 'FORTRAN', then the returned array will be in Fortran-contiguous order (first-index varies the fastest). If order is None, then the returned array may be in either C-, or Fortran-contiguous order or even discontiguous. subok - If True, then sub-classes will be passed-through, otherwise the returned array will be forced to be a base-class array ndmin - Specifies the minimum number of dimensions that the resulting array should have. 1's will be pre-pended to the shape as needed to meet this requirement. """) asarray(a, dtype=None, order=None) Returns a as an array. Unlike array(), no copy is performed if a is already an array. Subclasses are converted to base class ndarray. 1) Is it true that array doesn't always return a copy except by default? asarray says it contrasts with array in this regard. Maybe copy=0 should be deprecated. 2) Is asarray is basically array with copy=0? 3) Is asanyarray basically array with copy=0 and subok=1? 4) Is there some sort of precedence table for conversions? To me it looks like the most deeply nested lists are converted to arrays first, numeric if they contain all numeric types, object otherwise. I assume the algorithm then ascends up through the hierarchy like traversing a binary tree in postorder? 5) All nesting must be to the same depth and the deepest nested items must have the same length. 6) How is the difference between lists and "lists" determined, i.e., In [3]: array([list([1,2,3]),list([1,2])], dtype = object) Out[3]: array([[1, 2, 3], [1, 2]], dtype=object) In [8]: array([array([1,2,3]),array([1,2])], dtype = object) Out[8]: array([[1 2 3], [1 2]], dtype=object) In [9]: array([1,2,3],[1,2]], dtype = object) ------------------------------------------------------------ File "<ipython console>", line 1 array([1,2,3],[1,2]], dtype = object) ^ SyntaxError: invalid syntax Is the difference that list(...) and array(...) are passed as functions (lazy evaluation), but a list is just a list? Sorry to be asking all these questions, but I would like to try making the documentation be a bit of a reference. I am sure I will have more questions ;) -Travis Chuck |
From: Flavio C. <fcc...@gm...> - 2006-09-07 01:05:53
|
Hi, I have a module that uses a Fortran extension which I would like to compile for windows with f2py. I wonder If I could do this from Linux using xmingw. Has anyone tried this? thanks, --=20 Fl=E1vio Code=E7o Coelho registered Linux user # 386432 --------------------------- "Laws are like sausages. It's better not to see them being made." Otto von Bismark |
From: Ryan K. <rya...@gm...> - 2006-09-07 00:44:43
|
Thanks Chris, that worked great. Ryan On 9/6/06, Christopher Barker <Chr...@no...> wrote: > Ryan Krauss wrote: > > Is there a compatible matplotlib as well? I was o.k. with mpl from > > enthought until I switched numerix to numpy. That made mpl unhappy. > > I downloaded 0.87.5 but I broke something in the process because now > > even switching back to Numeric doesn't make mpl happy. > > There was an error with the first MPL 0.87.5 builds uploaded. See the > MPL list for more info, but these builds should work: > > http://euclid.uits.iupui.edu/mplfiles/ > > -Chris > > > -- > Christopher Barker, Ph.D. > Oceanographer > > NOAA/OR&R/HAZMAT (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: Travis O. <oli...@ie...> - 2006-09-06 23:39:41
|
Charles R Harris wrote: > > Where is array at this point? Basically it supports the old Numeric behavior wherein object array's are treated as before *except* for when an error would have occurred previously when the "new behavior" kicks in. Anything that violates that is a bug needing to be fixed. This leaves the new object-array constructor used less often. It could be exported explicitly into an oarray constructor, but I'm not sure about the advantages of that approach. There are benefits to having object arrays constructed in the same way as other arrays. It turns out many people actually like that feature of Numeric, which is the reason I didn't go the route of numarray which pulled object arrays out. At this point, however, object arrays can even be part of records and so need to be an integral part of the data-type description. Pulling that out is not going to happen. A more intelligent object-array constructor, however, may be a useful tool. -Travis |
From: Travis O. <oli...@ie...> - 2006-09-06 23:33:53
|
PGM wrote: > Folks, > I was playing around the numpy.fftpack when I ran into the problem below: > it seems that axis=None is not valid with fft. Is there a reason for that ? Not really, other than history and the fact that sub-packages of NumPy will often define their own behavior. Perhaps we could implement it, but would this create more confusion as usually when axis=None is accepted then it is the default. -Travis |
From: Charles R H. <cha...@gm...> - 2006-09-06 21:08:13
|
On 9/5/06, Travis Oliphant <oli...@ie...> wrote: > > Matthew Brett wrote: > > Hi, > > > > > >> This is a result of PyArray_FromAny changing when object arrays are > >> explicitly requested (which they are in this case --- although behind > >> the scenes). > >> > > > > Hmm - I think I am hitting a related bug/feature/surprising change in > > behavior, which is showing up rather obscurely in a failure of the > > scipy.io matlab loading tests: > > > > http://projects.scipy.org/scipy/scipy/ticket/258 > > > > Here's the change I wasn't expecting, present with current SVN: > > > > a = arange(2) > > b = arange(1) > > c = array([a, b], dtype=object) > > c > > -> > > array([[0, 1], > > [0, 0]], dtype=object) > > > > On a previous version of numpy (1.02b.dev2975) I get the answer I was > expecting: > > > > array([[0], [0 1]], dtype=object) > > > > This should now be fixed. The code was inappropriately not checking for > dimensions when object arrays were being constructed. Now, it raises > the appropriate error and then interprets it correctly using the extra > object creation code. > > Users of scipy 0.5.1 will only have to upgrade NumPy to get the fix (the > SciPy install won't have to be re-built). > > -Travis Where is array at this point? I would like to review the documented behaviour and make modifications to the document string if required. What about Robert's idea of a separate constructor for object arrays? Is it something we could introduce on top of the current array constructor? I realize that if we restrict the current array constructor there might be compatibility problems with Numeric code, but introducing something like oarray as a shorthand for object arrays might incourage it's use. Robert also said that Numarray dealt with object arrays as a separate issue and I wonder what they did that we should think about. Chuck |
From: Christopher B. <Chr...@no...> - 2006-09-06 20:50:21
|
Ryan Krauss wrote: > Is there a compatible matplotlib as well? I was o.k. with mpl from > enthought until I switched numerix to numpy. That made mpl unhappy. > I downloaded 0.87.5 but I broke something in the process because now > even switching back to Numeric doesn't make mpl happy. There was an error with the first MPL 0.87.5 builds uploaded. See the MPL list for more info, but these builds should work: http://euclid.uits.iupui.edu/mplfiles/ -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: bryce h. <bhe...@en...> - 2006-09-06 18:33:47
|
Ryan, The Enthought 1.0.0 release shipped a pre-release of matplotlib 0.87.3, svn revision 2478. If you update numpy, you have to update to matching versions of scipy and matplotlib. If you are using binary releases, guessing which version of each is needed is difficult unless builders of the binaries specify exactly which version of numpy was used. If you're comfortable building these packages yourself, the simple solution is to download the latest numpy, install it over the existing numpy, get the latest scipy & matplot lib sources, build them and install them over the existing packages. Bryce Ryan Krauss wrote: > O.K. I think I am up and running. I actually installed Entought and > Numpy and Scipy worked together there. I then upgraded the scipy and > numpy packages. > > Is there a compatible matplotlib as well? I was o.k. with mpl from > enthought until I switched numerix to numpy. That made mpl unhappy. > I downloaded 0.87.5 but I broke something in the process because now > even switching back to Numeric doesn't make mpl happy. I may switch > to the mpl list if this keeps giving me problems. > > Ryan > > On 9/6/06, James Graham <jg...@ca...> wrote: > >> Ryan Krauss wrote: >> >>> I would be glad to try that. Where do I get the installer for scipy 0.51? >>> >> http://prdownloads.sourceforge.net/scipy/scipy-0.5.1.win32-py2.4.exe?download >> >> The SciPy website needs to be updated. >> >> -- >> "Eternity's a terrible thought. I mean, where's it all going to end?" >> -- Tom Stoppard, Rosencrantz and Guildenstern are Dead >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Numpy-discussion mailing list >> Num...@li... >> https://lists.sourceforge.net/lists/listinfo/numpy-discussion >> >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > |
From: Ryan K. <rya...@gm...> - 2006-09-06 18:18:01
|
O.K. I think I am up and running. I actually installed Entought and Numpy and Scipy worked together there. I then upgraded the scipy and numpy packages. Is there a compatible matplotlib as well? I was o.k. with mpl from enthought until I switched numerix to numpy. That made mpl unhappy. I downloaded 0.87.5 but I broke something in the process because now even switching back to Numeric doesn't make mpl happy. I may switch to the mpl list if this keeps giving me problems. Ryan On 9/6/06, James Graham <jg...@ca...> wrote: > Ryan Krauss wrote: > > I would be glad to try that. Where do I get the installer for scipy 0.51? > > http://prdownloads.sourceforge.net/scipy/scipy-0.5.1.win32-py2.4.exe?download > > The SciPy website needs to be updated. > > -- > "Eternity's a terrible thought. I mean, where's it all going to end?" > -- Tom Stoppard, Rosencrantz and Guildenstern are Dead > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: James G. <jg...@ca...> - 2006-09-06 17:37:29
|
Ryan Krauss wrote: > I would be glad to try that. Where do I get the installer for scipy 0.51? http://prdownloads.sourceforge.net/scipy/scipy-0.5.1.win32-py2.4.exe?download The SciPy website needs to be updated. -- "Eternity's a terrible thought. I mean, where's it all going to end?" -- Tom Stoppard, Rosencrantz and Guildenstern are Dead |
From: Ryan K. <rya...@gm...> - 2006-09-06 17:30:17
|
I would be glad to try that. Where do I get the installer for scipy 0.51? Thanks, Ryan On 9/6/06, Martin Spacek <sc...@ms...> wrote: > Ryan, > > Try installing the latest scipy version 0.51. There's a windows binary > for it. Worked fine for me. > > Martin > > Ryan Krauss wrote: > > I am a Linux user trying to install Numpy/Scipy on a Windows machine > > in my office. > > > > I went to the website and grabbed the two latest versions: > > scipy = scipy-0.5.0.win32-py2.4.exe > > numpy = numpy-1.0b5.win32-py2.4.exe > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > |
From: Martin S. <sc...@ms...> - 2006-09-06 17:23:10
|
Ryan, Try installing the latest scipy version 0.51. There's a windows binary for it. Worked fine for me. Martin Ryan Krauss wrote: > I am a Linux user trying to install Numpy/Scipy on a Windows machine > in my office. > > I went to the website and grabbed the two latest versions: > scipy = scipy-0.5.0.win32-py2.4.exe > numpy = numpy-1.0b5.win32-py2.4.exe > > |