Hi Stephen,
If you want to sum/average down a column or across a row you can use sum().
The optional axis={0,1} parameter determines whether you are summing down a
column (default or axis=0) or across a row (axis=1).
Greg
On 12/29/06, Stephen Simmons <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking
reasing)...
if you have a hint on how to do this without TESTING how x is ordered
(dec, inc) and which of x1 or x2 is larger...
thanks
Eric
Greg Willden wrote:
Hi Eric,
Here are ways of doing this.
starting with
import numpy as N
On 12/28/06, Eric Emsellem < [EMAIL PROTECTED]> wrote:
>
Hi Eric,
Here are ways of doing this.
starting with
import numpy as N
On 12/28/06, Eric Emsellem <[EMAIL PROTECTED]> wrote:
### Increasing order in x, and x1 <= x2 :
x = arange(0.,1.,0.1)
x1 = 0.1
x2 = 0.55
### the output I would like is simply: array([ 0.1, 0.2, 0.3, 0.4,
0.5])
How about th
Hi Derek,
Like all Free & Open Source Software (FOSS) projects the license is
distributed with the source code.
There is a file called LICENSE.txt in the numpy tar archive.
Here are the contents of that file.
Copyright (c) 2005, NumPy Developers
All rights reserved.
Redistribution and use in sou