Class RealComplexDenseEquals
java.lang.Object
org.flag4j.operations.dense.real_complex.RealComplexDenseEquals
This class provides methods for checking the equality of one real and one complex dense tensors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
matrixEquals
(Matrix A, CMatrix B) Checks if two real dense matrices are equal.static boolean
tensorEquals
(double[] src1, Shape shape1, CNumber[] src2, Shape shape2) Checks if two dense tensors are equal.static boolean
tensorEquals
(Tensor A, CTensor B) Checks if two real dense tensors are equal.
-
Constructor Details
-
RealComplexDenseEquals
private RealComplexDenseEquals()
-
-
Method Details
-
matrixEquals
-
tensorEquals
-
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.
-