You can use types: type myResult someArray1::Vector someArray2::Vector end
On Tuesday, November 17, 2015 at 4:06:10 PM UTC-6, Jason McConochie wrote: > > In matlab I group arrays into structures such that I can deal with one > variable as the output from the function > e.g. > function o=someFunction(in) > o.someArray1=[0,0,0,0]; > o.someArray2=[1,1,1,1]; > end > > What is the Julia equivalent? Maintaining the efficiency of the > contiguous columnar array access in Julia. >
