Skip to content

Commit

Permalink
#7 - matrix reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
obriensystems committed Jul 22, 2024
1 parent b1374c4 commit b857bf3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions metrichash.map/src/main/java/com/metrichash/map/ScratchPad.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,10 @@ public void matrixReductionForAdding() {
//Stream.of(red0).forEach(x -> System.out.println(x));

// initialize reduction matrix
//for(long[] row : m1) {
Stream.of(m1).forEach(y ->
LongStream.of(y).forEach(x -> System.out.println(x)));
//}

/*for(long[] row : m1) {
for(long col : row) {
System.out.println(col);
}
}*/
#Stream.of(m1).flatMap(Stream::of).toArray(Long[]::new);
Stream.of(m1).forEach(y -> LongStream.of(y).forEach(x -> System.out.println(x)));

}

public void optional() {
Expand Down

0 comments on commit b857bf3

Please sign in to comment.