10.02.2012 05:39, Dave Cook kirjoitti:
Why is numpy.cumsum (along axis=0) so much slower than a simple loop?
The same goes for numpy.add.accumulate
The reason is loop ordering. The reduction operator when using `cumsum`
or `add.reduce` does the summation in the inmost loop, whereas the
On Sun, Feb 5, 2012 at 7:19 AM, Ralf Gommers
ralf.gomm...@googlemail.com wrote:
On Sun, Feb 5, 2012 at 7:33 AM, Travis Oliphant tra...@continuum.io wrote:
I think supporting Python 2.5 and above is completely fine. I'd even be
in favor of bumping up to Python 2.6 for NumPy 1.7 and certainly
On 5 February 2012 07:19, Ralf Gommers ralf.gomm...@googlemail.com wrote:
On Sun, Feb 5, 2012 at 7:33 AM, Travis Oliphant tra...@continuum.io wrote:
I think supporting Python 2.5 and above is completely fine. I'd even be
in favor of bumping up to Python 2.6 for NumPy 1.7 and certainly for
Hi,
I am relatively new to numpy and am seeking some advice on an
appropriate way to do the following simple task.
The idea is to build a class that will allow a user to easily remove
and keep columns and rows in a 2D numpy array.
An outline of the class is as follows:
class
This is not yet released (but will be in the near future):
http://readthedocs.org/docs/astropy/en/latest/table/index.html
https://github.com/astropy/astropy/blob/master/astropy/table/table.py
You can at least use this as an example of how to add rows and columns
to a structured array. Or be an
hi,
I'm glad to inform you about new Python solver for multiobjective
optimization (MOP).
Some changes committed to solver interalg made it capable of handling
global nonlinear constrained multiobjective problem (MOP), see the page
for more details.
Using interalg you can be 100% sure
On Feb 10, 2012, at 3:29 PM, Brad Reisfeld wrote:
Hi,
I am relatively new to numpy and am seeking some advice on an
appropriate way to do the following simple task.
The idea is to build a class that will allow a user to easily remove
and keep columns and rows in a 2D numpy array.
clip
On Feb 10, 2012, at 4:50 PM, Francesc Alted wrote:
https://github.com/FrancescAlted/carry
Hmm, this should be:
https://github.com/FrancescAlted/carray
Blame my (too) smart spell corrector.
-- Francesc Alted
___
NumPy-Discussion mailing list
And where do we find this gem?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hi All,
my apologies for my deep ignorance about math stuff; I guess I
should be able to find this out but I keep getting impossible results.
Basically I have a set of x, y data (around 1,000 elements each) and I
want to create 2 parallel curves (offset curves) to the original
one; parallel
Andrea,
Basically I have a set of x, y data (around 1,000 elements each) and I
want to create 2 parallel curves (offset curves) to the original
one; parallel means curves which are displaced from the base curve
by a constant offset, either positive or negative, in the direction of
the
Hello,
Say I have four corner points a = (X0, Y0), b = (X1, Y1), c = (X2, Y2)
and d = (X3, Y3):
a--b
\/
\ /
cd
Is there a function like meshgrid that would return me a grid of points
linearly interpolating those four corner points?
Thanks,
On Fri, Feb 10, 2012 at 9:26 AM, Hugo Gagnon
sourceforge.nu...@user.fastmail.fm wrote:
Hello,
Say I have four corner points a = (X0, Y0), b = (X1, Y1), c = (X2, Y2)
and d = (X3, Y3):
a--b
\ /
\ /
cd
Is there a function like meshgrid that would return me a
On 10 February 2012 17:59, Neal Becker ndbeck...@gmail.com wrote:
And where do we find this gem?
Presumably by following the hyper-links in the e-mail (non-obvious if
you're using a plain-text mail client..)
Cheers,
Scott
___
NumPy-Discussion mailing
14 matches
Mail list logo