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;
}

適用於