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 are the problem with .NET generics?
How objects are stored in memory?
What is different between Static Constructor and Private Constructor?
What does mean before a string in c#?
Explain the difference between a sub and a function in c#.
What is the difference between mobile application and desktop application?
How do namespaces work?
Is datetime value type c#?
What is default class in c#?
Can properties be static in c#?
what is IFormatable
What is a lambda expression in c#?
What is null character in string?
List the difference between interface and abstract class?
What is the process of Serialization?