Re: [julia-users] Concatenating ArrayViews

2015-03-18 Thread Ján Dolinský
Hi Tim, Indeed, ChainedVectors is an excellent start. It implements the desired functionality but purely for vectors. What I am looking for could be called ChainedMatrices. Thanks for the tip. Best Regards, Jan Dňa utorok, 17. marca 2015 11:49:55 UTC+1 Tim Holy napísal(-a): Not currently,

Re: [julia-users] Concatenating ArrayViews

2015-03-18 Thread Tim Holy
I don't think it exists, but the point is...you could start the ChainedMatrices package, building on the example of ChainedVectors :-). --Tim On Wednesday, March 18, 2015 01:39:26 AM Ján Dolinský wrote: Hi Tim, Indeed, ChainedVectors is an excellent start. It implements the desired

[julia-users] Concatenating ArrayViews

2015-03-17 Thread Ján Dolinský
Hi, Is it possible to create a view which refers to e.g. two different matrices ? I am on Julia v0.36. X = rand(1000,1000) Y = rand(1000,100) @time a = view(X, :, :) elapsed time: 6.576e-6 seconds (184 bytes allocated) @time b = view(Y, :, :) elapsed time: 5.83e-6 seconds (168 bytes

Re: [julia-users] Concatenating ArrayViews

2015-03-17 Thread Tim Holy
Not currently, but you can create your own new AbstractArray types. In this case, https://github.com/tanmaykm/ChainedVectors.jl might be a good model for how to proceed. Best, --Tim On Tuesday, March 17, 2015 01:35:03 AM Ján Dolinský wrote: Hi, Is it possible to create a view which refers