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

What can be done with c#?

831


What is ienumerable t in c#?

870


What is a Managed Code??

1030


Why array is faster than arraylist in c#?

992


What does args mean in c#?

905


Name the two classes are required for implementing a windows service?

1047


What is difference between hashtable and dictionary in c#?

955


Why constructor is used in c#?

914


Explain the process of Serialization?

1008


List some Advantages of switch-case over if else?

933


Can the accessibility of a type member be greater than the accessibility of its containing type?

946


What are c# i/o classes?

1014


Explain Direct CAST vs CType ?

1045


Why to use “finally” block in c#?

1104


What is expression tree in c#?

922