Class ComplexDenseDeterminant

java.lang.Object
org.flag4j.linalg.ops.dense.complex.ComplexDenseDeterminant

public final class ComplexDenseDeterminant extends Object
This class contains methods for computing the determinant of a complex dense matrix.
  • Method Details

    • det

      public static Complex128 det(CMatrix A)
      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:
      LinearAlgebraException - If matrix is not square.
    • detLU

      public static Complex128 detLU(CMatrix A)
      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:
      LinearAlgebraException - If matrix is not square.