Python/matrix
Stephen Gemin 4e0717c3cf Add error & test checks for matrix_operations.py (#925)
* Update matrix_operation.py

1. Adding error checks for integer inputs
2. Adding error checks for matrix operations where size requirements do not match up
3. Added matrix subtraction function
4. included error check so only integer is passed into identity function

* Create test_matrix_operation.py

* Update matrix_ops and Add Test Cases

1. Included error checks in matrix operation.  There were some cases where the functions would not work correctly.

2. PEP8 changes to matrix_operations.py

3. added test cases for matrix operations using pytest.

* Update pytest.ini

Add carriage return to end of file
2019-07-20 05:06:29 +02:00
..
tests Add error & test checks for matrix_operations.py (#925) 2019-07-20 05:06:29 +02:00
matrix_operation.py Add error & test checks for matrix_operations.py (#925) 2019-07-20 05:06:29 +02:00
nth_fibonacci_using_matrix_exponentiation.py Use correct function names in nth_fibonacci_using_matrix_exponentiation.py (#1045) 2019-07-19 16:55:45 +08:00
rotate_matrix.py Add rotate matrix problem (#1021) 2019-07-15 08:48:35 +02:00
searching_in_sorted_matrix.py Create Searching in sorted matrix (#738) 2019-03-20 23:59:35 +08:00
spiral_print.py Updated README 2019-07-06 11:11:20 +05:30