Class ComplexDenseEquals
java.lang.Object
org.flag4j.operations.dense.complex.ComplexDenseEquals
This class provides methods for checking the equality of complex dense tensors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
matrixEquals
(CMatrix A, CMatrix B) Checks if two real dense matrices are equal.static boolean
tensorEquals
(CNumber[] src1, Shape shape1, CNumber[] src2, Shape shape2) Checks if two dense tensors are equal.
-
Constructor Details
-
ComplexDenseEquals
private ComplexDenseEquals()
-
-
Method Details
-
matrixEquals
-
tensorEquals
Checks if two dense tensors are equal.- Parameters:
src1
- Entries of first tensor.shape1
- Shape of first tensor.src2
- Entries of second tensor.shape2
- Shape of second tensor.- Returns:
- True if the two tensors are numerically element-wise equivalent.
-