select all rows (resp. columns) out of matrix

bearophile bearophileHUGS at lycos.com
Thu Nov 14 15:13:11 PST 2013


Ali Çehreli:

> transversal() is useful too: :)
>
>   http://dlang.org/phobos/std_range.html#transversal

transversal() is sometimes useful, but if you need a significant 
amount of matrix processing, slicing and dicing matrices all the 
time in scientific code, then probably it's better to use a 
custom matrix library for D. Eventually one "winner" of such 
libraries should come out for D (as NumPy is in Python world). 
But to implement such libraries D should improve its management 
of "$" and "..." more for user-defined types.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list