Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real and Complex Sparse COO Tensor Implementations. #106

Merged
merged 10 commits into from
Aug 14, 2024
4 changes: 0 additions & 4 deletions src/main/java/org/flag4j/arrays/dense/CTensor.java
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ public CTensor H(int... axes) {
* @param B Second tensor in the addition.
* @throws IllegalArgumentException If this tensor and {@code B} have different shapes.
*/
@Override
public void addEq(Tensor B) {
RealComplexDenseOperations.addEq(this.entries, this.shape, B.entries, B.shape);
}
Expand All @@ -330,7 +329,6 @@ public void addEq(Tensor B) {
* @param B Second tensor in the addition.
* @throws IllegalArgumentException If this tensor and {@code B} have different shapes.
*/
@Override
public void addEq(CooCTensor B) {
ComplexDenseSparseOperations.addEq(this, B);
}
Expand All @@ -342,7 +340,6 @@ public void addEq(CooCTensor B) {
* @param B Second tensor in the subtraction.
* @throws IllegalArgumentException If this tensor and {@code B} have different shapes.
*/
@Override
public void subEq(Tensor B) {
RealComplexDenseOperations.subEq(this.entries, this.shape, B.entries, B.shape);
}
Expand All @@ -354,7 +351,6 @@ public void subEq(Tensor B) {
* @param B Second tensor in the subtraction.
* @throws IllegalArgumentException If this tensor and {@code B} have different shapes.
*/
@Override
public void subEq(CooCTensor B) {
ComplexDenseSparseOperations.subEq(this, B);
}
Expand Down
Loading
Loading