Pass variable by reference to function
This isn't so much an answer but an example of why pass-by-reference would be useful. I want to pull an array of values out of ...
meer dan 2 jaar ago | 0
What is an elegant way to pack and unpack an array of structures to/from a single vector?
What I've got is an array of structures of somewhat complicated data: data(1).r = [ 1 2 3 ]; data(1).v = [ 4 5 6 ]; data(1).m...
meer dan 2 jaar ago | 1 answer | 0