Matrix.Determinant 屬性

定義

取得這個 Matrix 結構的行列式。Gets the determinant of this Matrix structure.

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

屬性值

這個 Matrix 的行列式。The determinant of this Matrix.

範例

這個範例會顯示如何取得的行列式MatrixThis example shows how to get the determinant of a 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;
       
}

適用於