Skip to content

Commit c2c0db7

Browse files
authored
Change package from maths to matrix
Updated package declaration for StochasticMatrix class.
1 parent b7fd01a commit c2c0db7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/thealgorithms/matrix/StochasticMatrix.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
package com.thealgorithms.maths;
1+
package com.thealgorithms.matrix;
22

33
/**
44
* Utility class to check whether a matrix is stochastic.
55
* A matrix is stochastic if all its elements are non-negative
66
* and the sum of each row or column is equal to 1.
7+
*Reference: https://en.wikipedia.org/wiki/Stochastic_matrix
78
*/
89
public final class StochasticMatrix {
910

0 commit comments

Comments
 (0)