Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

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



Government Jobs Opening


...