We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7fd01a commit c2c0db7Copy full SHA for c2c0db7
src/main/java/com/thealgorithms/matrix/StochasticMatrix.java
@@ -1,9 +1,10 @@
1
-package com.thealgorithms.maths;
+package com.thealgorithms.matrix;
2
3
/**
4
* Utility class to check whether a matrix is stochastic.
5
* A matrix is stochastic if all its elements are non-negative
6
* and the sum of each row or column is equal to 1.
7
+ *Reference: https://en.wikipedia.org/wiki/Stochastic_matrix
8
*/
9
public final class StochasticMatrix {
10
0 commit comments