Sven:
I simplified the function to create lags only along axis 0 (see attached). I
am using c_ now which seems to play nice with 1- and 2-d array's.
The reason I am using 'n = ravel(n)' in the code is that I want to be able
to pass integers as well as lists. For example, I want each of the follow
Vincent Nijs schrieb:
> I am tryin to convert some of my time-series code written in Ox to
> scipy/numpy (e.g., unit root tests, IRFs, cointegration, etc). Two key
> functions I need for this are 'lag' and 'diff'. 'diff' is available but
> 'lag' is apparently not.
>
> Below is my attempt at a lag
Christopher Barker wrote:
> [EMAIL PROTECTED] wrote:
>> I have been working on
>> f2py rewrite to support wrapping Fortran 90 types among other F90
>> constructs and as a result we have almost a complete Fortran parser in
>> Python. It is relatively easy to use this parser to automatically convert
[EMAIL PROTECTED] wrote:
> I have been working on
> f2py rewrite to support wrapping Fortran 90 types among other F90
> constructs and as a result we have almost a complete Fortran parser in
> Python. It is relatively easy to use this parser to automatically convert
> Fortran 77 codes that we have
On Wed, 27 Dec 2006, Christopher Barker wrote:
> Travis Oliphant wrote:
> > It is the
> > combination of SciPy+NumPy+Matplotlib+IPython (+ perhaps a good IDE)
> > that can succeed at being a MATLAB/IDL replacement for a lot of people.
>
>
> > What is also needed is a good "package" of it al
Travis Oliphant wrote:
> It is the
> combination of SciPy+NumPy+Matplotlib+IPython (+ perhaps a good IDE)
> that can succeed at being a MATLAB/IDL replacement for a lot of people.
> What is also needed is a good "package" of it all --- like the Enthon
> distribution. This requires quite a
Gennan Chen wrote:
> Hi! all,
>
> There are so many fft routines in Scipy/Numpy. Does anyone know
> which one should be used officially?
For maximum portability and speed, use numpy.dual.fft() and its friends. That
will use the optimized functions in scipy.fftpack if it is available and
n
Hi! all,
There are so many fft routines in Scipy/Numpy. Does anyone know
which one should be used officially?
Gen
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Hi all,
According to Travis' advice in a prevoius thread (see
http://www.mail-archive.com/numpy-discussion%40scipy.org/msg00442.html),
I have modified the ``compiler.getType()`` function in Numexpr so that
it uses the ``dtype.kind`` attribute instead of ``issubclass()``. The
patch is attached.
B