0

基本上,在过去的几周里,我一直在努力加深对矩阵数学的理解,在阅读(和重新阅读)许多数学文章和文档之后,我认为我有足够的理解,但我只是想确定一下!

我最终得到的定义是:

/*
    Minor
    -----
    -A determinant of a sub matrix
    -The sub matrix used to calculate a minor can be obtained by removing more then one row/column from the original matrix
    -First minors are minors of a sub matrix where only the row and column of a single element have been removed

    Cofactor
    --------
    -The (signed) minor of a single element from a matrix
     ie. the minor of element 2,3 is the determinant of the submatrix, of the matrix, defined by removing row 2 and column 3

    Determinant
    -----------
    -1. Choose any single row or column from a Matrix.
     2. For each element in the row/column, multiply the value of the element against the First Minor of that element.
     3. This result is then multiplied by (-1 raised to the power of the elements row index + its column index) which will give the result of step 2 a sign.
     4. You then simply sum all these results to get the determinant (a real number) for the Matrix.
*/

请让我知道我的理解中的任何漏洞?

来源
http://en.wikipedia.org /Cofactor_(linear_algebra) & /Minor_(linear_algebra) & /Determinant http://easyweb.easynet.co.uk/~mrmeanie/matrix/matrices.htm
http://www。 geometrytools.com/Documentation/LaplaceExpansionTheorem.pdf (最有帮助的)
计算机图形的几何工具(这可能缺少页面,我有完整的副本)

4

1 回答 1

2

听起来您了解决定因素——现在开始编写代码!尝试使用克莱默规则为 3 个或更多变量的联立线性方程编写求解器。

由于您在 3dgraphics 上标记了这个问题,因此矩阵和向量乘法可能是接下来要探索的好领域。它们在 3d 图形编程中无处不在。

于 2009-08-13T08:10:09.573 回答