foreach(i,ref val; ndim_arr)??

Jay Norwood via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 9 11:50:32 PDT 2016


I noticed some discussion of Cartesian indexes in Julia, where 
the index is a tuple, along with some discussion of optimizing 
the index created for cache efficiency.  I could find foreach(ref 
val, m.byElement()), but didn't find an example that returned a 
tuple index.   Is that supported?

http://julialang.org/blog/2016/02/iteration

http://julialang.org/blog/2016/03/arrays-iteration




More information about the Digitalmars-d-learn mailing list