sub and slice don't give me the flexibility that I need in this case.

For future reference, the ArrayViews package has a function `strided_view` 
that does the trick.

Samuel

On Tuesday, December 30, 2014 at 7:57:19 AM UTC-5, Andreas Noack wrote:
>
> Maybe sub and slice is what you are looking for.
>
> 2014-12-30 4:09 GMT+01:00 <[email protected] <javascript:>>:
>
>> Numpy has a great little function called `as_strided` that let's you 
>> construct a view into an array with different strides (
>> http://scipy-lectures.github.io/advanced/advanced_numpy/). It ends up 
>> being really handy for moving window type things and some other numpy-fu. 
>> Does Julia have a comparable function?
>>
>
>

Reply via email to