mac os x leopard 10.5..
EPD installed
i just don't understand why i get one thing when i ask for another.
i can get what i want, but only by not asking for it.
thanks,
Ross
On Sun, Jul 18, 2010 at 6:02 PM, Pauli Virtanen wrote:
> Sun, 18 Jul 2010 17:26:13 -0500, Ross Harder wrote:
&g
I don't understand the following.
>> a=np.zeros( (3,3,3), dtype='Complex128')
>>> a
array([[[0.0+0.0j, 0.0+0.0j, 0.0+0.0j],
[0.0+0.0j, 0.0+0.0j, 0.0+0.0j],
[0.0+0.0j, 0.0+0.0j, 0.0+0.0j]],
[[0.0+0.0j, 0.0+0.0j, 0.0+0.0j],
[0.0+0.0j, 0.0+0.0j, 0.0+0.0j],
[0.0+
I'm struggling with using some of the macros in numpy.i for my own typemap.
The problem is that the arrayobject.h include does not end up in the c
wrapper code after swig runs.
numpy.i has at the beginning:
%{
#ifndef SWIG_FILE_WITH_INIT
# define NO_IMPORT_ARRAY
#endif
#include "stdio.h"
#include
What's the correct way to do something like this?
a=array( (0,1,1,0) )
b=array( (4,3,2,1) )
c=array( (1,2,3,4) )
where( (a<1 or b<3), b,c)
Python throws a ValueError
I would expect to get an array that looks like
[4,2,2,1] I think
Thanks,
Ross
Ahhh... that hadn't occured to me. Just installed
Enthon and assumed it was up to date, but it's not.
Sorry for the misguided complaint.
Thanks,
Ross
--- Robert Kern <[EMAIL PROTECTED]> wrote:
> Ross Harder wrote:
> > Hi,
> > I'm new to Nu
Hi,
I'm new to Numpy, just bought the guide last week.
I've been disappointed by the difficulty I'm having
finding functions that are documented in the guide.
So
far I've had to spend a lot of time tracking down that
the fft2 and fftn functions from the fftpack library,
which are documented in t