[julia-users] Re: Best way to return many arrays from function

2015-11-17 Thread Eric Forgy
Coming from Matlab, I recently had the same question. Have a look at Dict. For speed, you may want to define new types, but for a quick "struct" equivalent, you can try Dict. On Wednesday, November 18, 2015 at 6:37:44 AM UTC+8, Jason McConochie wrote: > > Thank you. Perfect with defining the

[julia-users] Re: Best way to return many arrays from function

2015-11-17 Thread Benjamin Deonovic
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