Organizational Research By

Surprising Reserch Topic

to swap rows with columns of matrix in javascript or jquery


to swap rows with columns of matrix in javascript or jquery  using -'javascript,jquery,matrix,multidimensional-array,swap'

For instance I have a matrix like this:

|1 2 3|    
|4 5 6|
|7 8 9|


and I need it to convert into a matrix like this:

|1 4 7|    
|2 5 8|
|3 6 9|


What is the best and optimal way to achieve this goal?
    

asked Sep 9, 2015 by AnitaTrudel
0 votes
52 views



Related Hot Questions

5 Answers

0 votes
NULL
answered Sep 9, 2015 by OnaMajor
0 votes
NULL
answered Sep 9, 2015 by ReyHutto
0 votes
NULL
answered Sep 9, 2015 by SteDelossan
0 votes
NULL
answered Sep 9, 2015 by EricaBrockma
0 votes
NULL
answered Sep 9, 2015 by Veronique69A

...