Breyta

Deila með


Matrix.Determinant Property

Definition

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

Property Value

The determinant of this Matrix.

Examples

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

Applies to