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
What is difference between value and reference types in C#.NET
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
How does split work in c#?
Can datetime be null c#?
What is alias in c#?
What is difference between Enum and Struct?
Difference between Value type & reference types ? and give the example in .Net?
What are annotations in c#?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
While debugging a C# application can you change the value of a variable?
Why do we use dictionary in c#?
What is the base class for array types?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
What is trim in c#?