Matrix.Determinant 属性

定义

获取此 Matrix 结构的行列式。

public:
 property double Determinant { double get(); };
public double Determinant { get; }
member this.Determinant : double
Public ReadOnly Property Determinant As Double

属性值

Double

Matrix 的行列式。

示例

此示例演示如何获取一个 Matrix决定因素。

private Double determinantExample()
{
    Matrix myMatrix = new Matrix(5, 10, 15, 20, 25, 30);
    
    // Get the determinant, which is equal to -50.
    Double determinant = myMatrix.Determinant;
    
    return determinant;
}

适用于