Class ComplexDenseDeterminant
java.lang.Object
org.flag4j.operations.dense.complex.ComplexDenseDeterminant
This class contains methods for computing the determinant of a complex dense matrix.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CNumber
Computes the determinant of a square matrix using the LU factorization.static CNumber
Explicitly computes the determinant of a 1x1 matrix.static CNumber
Explicitly computes the determinant of a 2x2 matrix.static CNumber
Explicitly computes the determinant of a 3x3 matrix.static CNumber
Computes the determinant of a square matrix using the LU factorization.static CNumber
Computes the determinant of a triangular matrix.
-
Constructor Details
-
ComplexDenseDeterminant
private ComplexDenseDeterminant()
-
-
Method Details
-
det
Computes the determinant of a square matrix using the LU factorization.- Parameters:
A
- Matrix to compute the determinant of.- Returns:
- The determinant of the matrix.
- Throws:
IllegalArgumentException
- If matrix is not square.
-
detLU
Computes the determinant of a square matrix using the LU factorization.- Parameters:
A
- Matrix to compute the determinant of.- Returns:
- The determinant of the matrix.
- Throws:
IllegalArgumentException
- If matrix is not square.
-
detTri
-
det3
-
det2
-
det1
-