How to transpose rows into columns and columns into rows in
a multi-dimensional array?
Answer Posted / sarath
We Have a predefined method for transposing Matrix i.e
TRANSPOSE().
for ex: We have one Matrix called 'A'
A is the array | 0 -5 8 -7 |
| 2 4 -1 1 |
| 7 5 6 -6 |
Transpose the columns and rows of A.
RES = TRANSPOSE( A )
The result is | 0 2 7 |
| -5 4 5 |
| 8 -1 6 |
! | -7 1 -6 |
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Why do we use lambda expression in c#?
Write down the c# syntax to catch an exception
What is xor operation?
What is the difference between protected and internal in c#?
What benefit do you get from using a primary interop assembly (pia)?
What is a byte in c#?
What tool we have to use to install assembli in gac folder.
Are string objects mutable or immutable?
What are c# collections?
What is sql transaction in c#?
what is c# command?
What are the variables in c#?
What type of data type conversion happens when the compiler encounters the following code?
What is the advantage of constructor in c#?
Define multicast c# delegate?