Class ComplexSparseMatrixProperties
java.lang.Object
org.flag4j.operations.sparse.coo.complex.ComplexSparseMatrixProperties
This class contains low level implementations for methods to evaluate certain properties of a complex sparse matrix.
(i.e. if the matrix is symmetric).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if a real sparse matrix is anti-hermitian.static boolean
isHermitian
(CooCMatrix src) Checks if a complex sparse matrix is hermitian.static boolean
isIdentity
(CooCMatrix src) Checks if a complex sparse matrix is the identity matrix.
-
Constructor Details
-
ComplexSparseMatrixProperties
private ComplexSparseMatrixProperties()
-
-
Method Details
-
isIdentity
Checks if a complex sparse matrix is the identity matrix.- Parameters:
src
- Matrix to check if it is the identity matrix.- Returns:
- True if the
src
matrix is the identity matrix. Otherwise, returns false.
-
isHermitian
Checks if a complex sparse matrix is hermitian.- Parameters:
src
- Matrix to check if it is the hermitian matrix.- Returns:
- True if the
src
matrix is hermitian. False otherwise.
-
isAntiHermitian
Checks if a real sparse matrix is anti-hermitian.- Parameters:
src
- Matrix to check if it is the anti-hermitian matrix.- Returns:
- True if the
src
matrix is anti-hermitian. False otherwise.
-