如何计算矩阵反转n * n? (Vb.net或C#) [英] How to calculate matrix reverse n*n ? (Vb.net OR C#)

查看:102
本文介绍了如何计算矩阵反转n * n? (Vb.net或C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
如何计算矩阵反转n * n?

(Vb.net或C#)

hi How to calculate matrix reverse n*n ?
(Vb.net OR C#)

推荐答案

甚至还有 MSDN 文章在那:矩阵分解 [ ^ ](由 ThePhantomUpvoter 建议,使用 Google 你很快就找到了它。)
There's even a MSDN article on that: "Matrix Decomposition"[^] (as suggested by the ThePhantomUpvoter, using Google you coud have quickly found it yourself).


你的作业闻起来很可怕 - 我们不会为你做功课。



所以,这是 Google [ ^ ]与al很多网站都在谈论它,并提供算法。



实施取决于你:但这并不困难!
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!


您可以使用.NET框架:





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



You can use .NET framework :


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

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





或者如果你想使用双数组这个函数



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


这篇关于如何计算矩阵反转n * n? (Vb.net或C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆