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

Can a struct inherit from an interface in c#?

964


Which is faster array or arraylist in c#?

850


What are the Types of values mode can hold session state in web.config

944


What do you mean by object pooling?

931


What is difference between const and static in c#?

924


What are different types of Delegates in C#?

962


Explain the difference between Response.Write () and Response.Output.Write ().

896


What is difference between events and delegates?

889


what is a static constructor?

1144


What Happens In Memory When You Box And Unbox A Value-type?

821


What are extension methods and where can we use them?

835


What is the difference between protected and private?

872


What are the 3 logical operators?

910


Why ienumerable is used in c#?

830


What are native methods?

815