Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-30 Thread Konrad Hinsen
On Nov 29, 2006, at 1:09, Travis Oliphant wrote: > You can > > #define PY_SSIZE_T_MIN INT_MIN > #define PY_SSIZE_T_MAX INT_MAX > > before including the NumPy header file and it will by-pass the typedef > for Py_ssize_t. Interesting. Is that a test that would work for distinguishing Python 2.5 f

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-28 Thread Travis Oliphant
[EMAIL PROTECTED] wrote: >On 24.11.2006, at 19:04, [EMAIL PROTECTED] wrote: > > > >>Those who would like to test-drive ScientificPython with NumPy can do >>so now: just download version 2.7.1 from >> >> http://sourcesup.cru.fr/ >> >> > >Version 2.7.2 now, after the first bug fix: it wou

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-25 Thread konrad . hinsen
On 24.11.2006, at 19:04, [EMAIL PROTECTED] wrote: > Those who would like to test-drive ScientificPython with NumPy can do > so now: just download version 2.7.1 from > > http://sourcesup.cru.fr/ Version 2.7.2 now, after the first bug fix: it wouldn't compile with NumPy and Python < 2.5, be

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-25 Thread konrad . hinsen
On 25.11.2006, at 06:17, Sebastian Haase wrote: > Just out of curiosity: Can I ask what is special about a > Geometry.Vector ? What is the difference to a normal numpy array ? 1) A Vector always has exactly three elements of type "float". 2) A Vector is immutable. 3) Only addition and substracti

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-24 Thread Gary Ruben
> Hi, > Just out of curiosity: Can I ask what is special about a > Geometry.Vector ? What is the difference to a normal numpy array ? At the time I wrote my code, it was just a convenient 3-vector class. Most of the functionality is now implemented in numpy so if I was to rewrite my code, I'd j

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-24 Thread Sebastian Haase
Hi, Just out of curiosity: Can I ask what is special about a Geometry.Vector ? What is the difference to a normal numpy array ? I hope this is a good place to as this ? Thanks, -Sebastian Haase On 11/24/06, Gary Ruben <[EMAIL PROTECTED]> wrote: Hi Konrad, I can report that 2.7.1 installs OK

Re: [Numpy-discussion] ScientificPython with NumPy

2006-11-24 Thread Gary Ruben
Hi Konrad, I can report that 2.7.1 installs OK on WinXP with the most recent Enthought Python. I used mingw, so replaced the build instruction with python setup.py build --numpy --compiler=mingw32 All I tried was the Geometry.Vector class which my older code uses heavily - this behaves well. rega

[Numpy-discussion] ScientificPython with NumPy

2006-11-24 Thread konrad . hinsen
Those who would like to test-drive ScientificPython with NumPy can do so now: just download version 2.7.1 from http://sourcesup.cru.fr/ and install using python setup.py build --numpy python setup.py install --numpy Note that I have relied on NumPy's automatic code con