Convenience method that will return true only if the two input matrices have the exact same dimensions. @param A the first matrix @param B the second matrix @return true if they have the exact same dimensions, false otherwise.
(Matrix A, Matrix B)
| 770 | * {@code false} otherwise. |
| 771 | */ |
| 772 | public static boolean sameDimensions(Matrix A, Matrix B) |
| 773 | { |
| 774 | return A.rows() == B.rows() && A.cols() == B.cols(); |
| 775 | } |
| 776 | |
| 777 | /** |
| 778 | * Convenience method that will return {@code true} only if the two input |
no test coverage detected