Skip to content

Commit 8d799c6

Browse files
authored
Update Sparsity.java
1 parent e5d00f9 commit 8d799c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/thealgorithms/misc/Sparsity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ private Sparsity() {
1414
}
1515

1616
/*
17+
* @param mat the input matrix
1718
* @return Sparsity of matrix
1819
*
1920
* where sparsity = number of zeroes/total elements in matrix

0 commit comments

Comments
 (0)