Class ComplexCsrProperties
java.lang.Object
org.flag4j.operations.sparse.csr.complex.ComplexCsrProperties
This class contains low-level implementations for determining certain properties of complex sparse CSR matrices.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if thesrc
matrix is anti-symmetric.static boolean
isHermitian
(CsrCMatrix src) Checks if thesrc
matrix is Hermitian.static boolean
isIdentity
(CsrCMatrix src) Checks if thesrc
matrix is the identity matrix.
-
Constructor Details
-
ComplexCsrProperties
private ComplexCsrProperties()
-
-
Method Details
-
isIdentity
Checks if thesrc
matrix is the identity matrix.- Parameters:
src
- The matrix to check if it is the identity matrix.- Returns:
- True if the
src
matrix is the identity matrix. False otherwise.
-
isHermitian
Checks if thesrc
matrix is Hermitian.- Parameters:
src
- Source matrix to check if it is Hermitian.- Returns:
- True if
src
is symmetric. Otherwise, returns false.
-
isAntiHermitian
Checks if thesrc
matrix is anti-symmetric.- Parameters:
src
- Source matrix to check symmetry of.- Returns:
- True if
src
is symmetric. Otherwise, returns false.
-