Thank you. Perfect with defining the type after as
someArray1::Vector{Float64}
On Tuesday, November 17, 2015 at 11:16:08 PM UTC+1, Benjamin Deonovic wrote:
>
> 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.
>>
>