如何计算C#中的2x3矩阵行列式。 [英] How calculate the 2x3 matrix determinant in C# .
问题描述
嗨我有一个maxice 2x3,我想在c#中计算这个矩阵的行列式。请问我该怎么做。谢谢。
我尝试了什么:
我不知道如何计算矩阵的行列式。
引用:我不知道如何计算矩阵的行列式。
错误的地方!
在这个论坛中;我们帮你修复你的代码,我们不教数学。
你需要学习如何计算矩阵的行列式
Determinant - Wikipedia [ ^ ]
决定因素 - 来自Wolfram MathWorld [ ^ ]
引用:我有一个maxice 2x3
你不确定非方阵矩阵存在决定因素。
非方阵的行列式不存在。
但是你可能谈到2D操作的矩阵,它们实际上是3x3但最后一行是0,0,1因此它简化了为2x3。
我认为决定因素可能只是M11 * M22 - m21 * m12,因为在那里嵌入了btw
参考资料来源 [< a href =https://referencesource.microsoft.com/#System.Numerics/System/Numerics/Matrix3x2.cs,8b8d67bb6823c1b6\"target =_ blanktitle =New Window> ^ ]
Hi I have a matrice 2x3 and I want to calculate the determinant of this matrice in c#. Please how I can do that. Thanks.
What I have tried:
I have no idea how to calculate determinant of matrice.
Quote:I have no idea how to calculate determinant of matrice.
Wrong place !
In this forum; we help you to fix your code, we don't teach mathematics.
You need to learn how to calculate the determinant of a matrice
Determinant - Wikipedia[^]
Determinant -- from Wolfram MathWorld[^]
Quote:I have a matrice 2x3
U am not sure determinant exist for non square matrix.
determinant for non square matrix do not exist.
However you probably talk about the matrix for 2D operations, they are really 3x3 but the last row is 0, 0, 1 hence it "simplified" as 2x3.
I think the determinant might simply be M11 * M22 - m21 * m12, as sugeested there btw
Reference Source[^]
这篇关于如何计算C#中的2x3矩阵行列式。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!