Jump to content

Matrix transposition: Difference between revisions

Added J solution. I'll add an example soon.
m (Correct source code spacing for Ada)
(Added J solution. I'll add an example soon.)
Line 161:
m=[[1,1,1,1],[2, 4, 8, 16],[3, 9,27, 81],[5, 25,125, 625]]
print,transpose(m)
 
=={{header|J}}==
Transpose is the monadic primary verb <code>|:</code>
 
=={{header|Java}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.