On 19/11/06, Filip Wasilewski <[EMAIL PROTECTED]> wrote:
> On 11/19/06, A. M. Archibald <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a function that would like to be able to take an array, look at
> > its 'strides' and 'shape' tuples, and fabricate another array that is
> > similar to the firs
On 11/19/06, A. M. Archibald <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a function that would like to be able to take an array, look at
> its 'strides' and 'shape' tuples, and fabricate another array that is
> similar to the first but has the adjusted values.
>
> For a simple example:
>
> def fidd
Hi,
I have a function that would like to be able to take an array, look at
its 'strides' and 'shape' tuples, and fabricate another array that is
similar to the first but has the adjusted values.
For a simple example:
def fiddle(a):
strides = list(a.strides)
strides[0]*=2
shape = list