Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you create user defined data types in c#?

999


Explain nullable types in c#?

967


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

987


Why is dll used?

991


What does public mean in c#?

918


Explain partial class in c#?

907


What is difference between dictionary and list in c#?

871


Write a program to find the angle between the hours and minutes in a clock

919


What do you mean by saying a "class is a reference type"?

910


How many types of methods are there in c#?

910


Illustrate the differences between the system.array.copyto() and system.array.clone()?

975


What is thread.sleep()?

895


How to declare a property in a class?

1004


Is dictionary a collection?

851


can you allow a class to be inherited, but prevent the method from being over-ridden?

962