Hi, I use python for some fairly heavy scientific computations (at least to
be running on a single processor) and would like to use it in parallel.
I've seen some stuff online about Parallel Python and mpiPy, but I don't
know much about them. Is a python-specific program needed to run python in
p
Christopher Ball wrote:
> Hi,
>
> I wonder if anyone can tell me when the next release is planned? Or
> specifically, any idea when a new Windows binary installer will be
> released?
>
I've been meaning to soon, but I've been stressed with too many things
on my plate. If anybody would like
Hi,
What is the current idiom for vectorizing instance methods? I don't
need vectorization over self. For functions:
from numpy import *
@vectorize
def f(x):
if x>0:
return 1
else:
return 2
print f(array([-1,0,1]))
does the right thing. But for instance methods:
class u
Hi,
I wonder if anyone can tell me when the next release is planned? Or
specifically, any idea when a new Windows binary installer will be
released?
I'm interested because we'd like to release a new version of our neural
map-modeling software (which depends on numpy) soon, but the
subtract.re
On Wed, Mar 28, 2007 at 07:05:00PM -0500, Alan Isaac wrote:
> On Wed, 28 Mar 2007, Stefan van der Walt wrote:
> > Matrices strike me as a bit of an anomaly. I would expect
> > an N-dimensional container to contain (N-1)-dimensional
> > objects.
>
> Yes indeed.
Doesn't seem to be the way the m
On Wed, 28 Mar 2007, Stefan van der Walt wrote:
> Matrices strike me as a bit of an anomaly. I would expect
> an N-dimensional container to contain (N-1)-dimensional
> objects.
Yes indeed.
Cheers,
Alan Isaac
___
Numpy-discussion mailing list
Num
On Wed, Mar 28, 2007 at 05:25:57PM -0500, Alan Isaac wrote:
> given the surprising passion of the attacks at the
> suggestion that perhaps iteration over a matrix might more
> consistently yield arrays, I presumed there must be *many*
> instances in which it was obviously desirable that such
>
It's because the property that A[i] == A[i,...] is much more
important to most numpy users than the results of a particular (mis)
use of the matrix class.
This has been explained in many different contexts over many
different email messages by many different people. You're not looking
at th
On Wed, 28 Mar 2007, Robert Kern wrote:
> People have been giving you reasons, over and over again.
> You are simply refusing to listen to them.
Exploring whether the reasoning is adequate is not the same
as refusing to listen. I do not presume my view is correct.
> You have a use case for a
Very cool -- Thanks for digging into the code and making these fixes,
Stéfan! The ndimage C code is non-trivial for sure.
I'll test things out in the next couple of days.
Thanks again,
Zach
On Mar 28, 2007, at 10:25 AM, Stefan van der Walt wrote:
> On Wed, Mar 28, 2007 at 05:14:59PM +0200,
On Tue, 27 Mar 2007, Zachary Pincus wrote:
> M[i], which equals M[i,:]
Of course this equality must break.
That was stated at the outset.
As I said before, this may be impossible
or undesirable. But, as I said before,
it seems prima facie natural for
M[i] to be ordinary Python indexing
while M
Brad Malone wrote:
> Hi, I'm running into an error with linear least squares that I'm not
> sure what to do about. For reference, I'm trying to fit a curve
> corresponding to the example at the bottom of this wikipedia page:
> http://en.wikipedia.org/wiki/Linear_least_squares
>
> My code loo
Brad Malone wrote:
> Hi, I'm running into an error with linear least squares that I'm not
> sure what to do about. For reference, I'm trying to fit a curve
> corresponding to the example at the bottom of this wikipedia page:
> http://en.wikipedia.org/wiki/Linear_least_squares
>
You are mixing
Hi, I'm running into an error with linear least squares that I'm not sure
what to do about. For reference, I'm trying to fit a curve corresponding to
the example at the bottom of this wikipedia page:
http://en.wikipedia.org/wiki/Linear_least_squares
My code looks like this:
from numpy import *
On Wednesday 28 March 2007 12:42:52 Bryce Hendrix wrote:
> Thanks Pierre, works like a charm. One question though, how is defining
> a class attribute in __new__ any more thread-safe?
It's not, of course, and that's why it shouldn't be used. However, it's quite
convenient and easier to use, and d
On Wed, Mar 28, 2007 at 05:14:59PM +0200, Stefan van der Walt wrote:
> As for the values at the edges, I'm still working on it.
OK, that was a one-line patch. Please test to see if there are any
subtle conditions on the border that I may have missed. I know of one
already, but I'd be glad if you
Thanks Pierre, works like a charm. One question though, how is defining
a class attribute in __new__ any more thread-safe?
Bryce
Pierre GM wrote:
On Tuesday 27 March 2007 20:08:04 Bryce Hendrix wrote:
We have a class which is a subclass of ndarray which defines
__array_finalize__ to add an
Alan G Isaac wrote:
>>> On Tue, 27 Mar 2007, Robert Kern apparently wrote:
Gram-Schmidt orthogonalization
>
>> Alan G Isaac wrote:
>>> I take it from context that you consider it desirable
>>> to end up with a list of matrices?
>
> Robert wrote:
>> Honestly, I don't care. You asked ab
Dear List,
I'm not a python programmer, but am familiar with
installing programs on Linux. I'm installing some python
packages for a user.
The app calls Numeric/ScientificPython. I have a
separate install in ~ so as not to overwrite the
standard install while I'm getting it wo
Hi,
I notice now that we've been having this discussion on the wrong list
-- oops! We're nearly done, though.
On Mon, Mar 26, 2007 at 04:16:51AM -0400, James Turner wrote:
> For what it's worth, I'd agree with both of you that the numeric
> overflow should be documented if not fixed. It sounds l
Hello to all,
I've thread that apperead some time ago on this list about matlab and
teaching.
I've discovered python recently and translated part of the routine I
use in python (www.chemometrics.it).
Some of my collegue asked me if I could show them how to use python. For
matlab user I guess th
21 matches
Mail list logo