Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi How to calculate matrix reverse n*n ?
(Vb.net OR C#)
Posted
Comments
[no name] 26-Sep-13 6:00am    
Didn't they cover that in class? Is google broken where you live?

There's even a MSDN article on that: "Matrix Decomposition"[^] (as suggested by the ThePhantomUpvoter, using Google you coud have quickly found it yourself).
 
Share this answer
 
This smells horribly of your homework - and we don't do your homework for you.

So, here is Google[^] with a list of sites talking about it, and giving algorithms.

The implementation is up to you: but it isn't exactly difficult!
 
Share this answer
 
You can use .NET framework :


http://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.matrix.invert.aspx[^]

C#
Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4);
myMatrix.Invert();


Or this function if you want to use double arrays

http://www.rkinteractive.com/blogs/SoftwareDevelopment/post/2013/05/21/Algorithms-In-C-Finding-The-Inverse-Of-A-Matrix.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900