Matrix transposition: Difference between revisions
Content deleted Content added
Added functional D version |
No edit summary |
||
Line 644:
[13, 17, 21]]</pre>
Functional style (same output):
<lang d>import std.stdio, std.algorithm, std.conv, std.range;
auto transpose(T)(in T[][] m) {
|