Package org.flag4j.core
Interface RealMatrixMixin<T,W>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if a matrix is anti-symmetric.boolean
Checks if this matrix is orthogonal.boolean
Checks if a matrix is symmetric.Computes the complex element-wise square root of a tensor.
-
Method Details
-
isSymmetric
boolean isSymmetric()Checks if a matrix is symmetric. That is, if the matrix is equal to its transpose.- Returns:
- True if this matrix is symmetric. Otherwise, returns false.
-
isAntiSymmetric
boolean isAntiSymmetric()Checks if a matrix is anti-symmetric. That is, if the matrix is equal to the negative of its transpose.- Returns:
- True if this matrix is anti-symmetric. Otherwise, returns false.
-
isOrthogonal
boolean isOrthogonal()Checks if this matrix is orthogonal. That is, if the inverse of this matrix is equal to its transpose.- Returns:
- True if this matrix it is orthogonal. Otherwise, returns false.
-
sqrtComplex
W sqrtComplex()Computes the complex element-wise square root of a tensor.- Returns:
- The result of applying an element-wise square root to this tensor. Note, this method will compute the principle square root i.e. the square root with positive real part.
-