[Numpy-discussion] partial_sum/adj_difference?
Nils Wagner
nwagner at iam.uni-stuttgart.de
Tue Feb 19 16:17:45 EST 2008
On Tue, 19 Feb 2008 13:50:04 -0700
"Charles R Harris" <charlesr.harris at gmail.com> wrote:
> On Feb 19, 2008 12:41 PM, Stefan van der Walt
><stefan at sun.ac.za> wrote:
>
>> Hi Neal
>>
>> On Tue, Feb 19, 2008 at 01:38:06PM -0500, Neal Becker
>>wrote:
>> > Does numpy/scipy have a partial_sum and adj_difference
>>function?
>> >
>> > partial_sum[i] = \sum_{j=0}^{i} x[j]
>>
>> numpy.cumsum
>>
>> Yikes, the docstring contains "Blah, blah". I'll fix
>>that
>> immediately.
>>
>
> Gosh,
>
> And here I thought you were going to fix that. Deleting
>the "blahs" isn't a
> fix, it's a coverup. Now there is no extended
>documentation at all.
>
> Chuck
;-)
>>> from numpy import cumprod
>>> help (cumprod)
Nils
More information about the NumPy-Discussion
mailing list