語言

Matrix.Determinant 屬性

定義

取得這個 Matrix 結構的決定性。

public:
 property double Determinant { double get(); };
public double Determinant { get; }
member this.Determinant : double
Public ReadOnly Property Determinant As 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;
}

適用於