ILNumerics Ultimate VS

ILMathdet Method (InArraycomplex)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Determinant of square matrix.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.4.0.0 (5.4.7431.3055)
Syntax

public static RetArray<complex> det(
	InArray<complex> A
)

Parameters

A
Type: ILNumericsInArraycomplex
Input matrix (square).

Return Value

Type: RetArraycomplex
Determinant of A.
Exceptions

ExceptionCondition
ArgumentException if A is not a square matrix.
Remarks

The determinant is computed by decomposing A into upper and lower triangular part using LU decomposition.

The determinant of a scalar matrix is the scalar itself. If A is empty an empty array will be returned.

[ILNumerics Computing Engine]

Examples

Creating a nonsingular 4x4 (complex) matrix and it's determinant
Array<complex> A = ILMath.counter<complex>(1.0, 1.0, 4, 4);
            A[1, 0] = 0.0;  // ensure that A
            A[2, 3] = 0.0;  // has full rank
            A
            <Double> [4,4] 1...16 order:|
            1          5          9         13
            0          6         10         14
            3          7         11          0
            4          8         12         16
            det(A)
            //D
            <Double> [1,1] -360 order:|
See Also

Reference