Nathaniel Smith wrote:
> In py3,
> 'int' is an arbitrary width integer bignum, like py2 'long', which is
> fundamentally different from int32 and int64 in both semantics and
> implementation.
Only when stored in an ndarray.
An array scalar object does not need to care about the exact number of
Mansour Moufid wrote:
> The cross-correlation of two arrays of lengths m and n is of length
> m + n - 1, where m is usually much larger than n.
He is thinking about the situation where m == n and m is much larger than
maxlag.
Truncating the input arrays would also throw away data.
This is abou
In some cases calling operator.index(n) may yield the desired result. I
like operator.index, but maybe it is just me :). That uses duck typing
instead of instance checking to ask if it represents an integer.
But it also has some awkward corner cases in numpy, since arrays with a
single element (dep