The ArrayView package will give similar though not equivalent possibilities.
See also https://github.com/JuliaLang/julia/pull/5556
and https://github.com/JuliaLang/julia/issues/5932
I think there is also a transpose type that would allow to reverse strides.

Cheers,

Tobi

Am Dienstag, 26. August 2014 14:26:46 UTC+2 schrieb Neal Becker:
>
> In numpy, array contents can be re-interpreted without copying.  The 
> indexing of 
> an array is defined by it's strides, and by altering the strides we can 
> get 
> different views. 
>
>
> http://nbviewer.ipython.org/github/ipython-books/cookbook-code/blob/master/notebooks/chapter04_optimization/06_stride_tricks.ipynb
>  
>
> Does julia have a similar facility? 
>
> -- 
> -- Those who don't understand recursion are doomed to repeat it 
>
>

Reply via email to