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
2019-07-06 14:04:27 +05:30
2019-07-14 07:45:54 +02:00
2018-10-20 14:45:08 -05:00
2018-11-12 23:38:08 +05:30
2019-07-18 23:40:51 +02:00
2018-10-19 17:14:25 -05:00
2019-07-13 21:54:38 +02:00
2019-05-26 22:03:53 +05:30
2019-06-02 12:14:18 +08:00
2019-07-10 06:59:39 +02:00

The Algorithms - Python

Donate   Gitter chat   Open in Gitpod

All algorithms implemented in Python (for education)

These implementations are for learning purposes. They may be less efficient than the implementations in the Python standard library.

Owners

Anup Kumar Panwar   [Gmail   GitHub   LinkedIn]

Chetan Kaushik   [Gmail   GitHub   LinkedIn]

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Community Channel

We're on Gitter! Please join us.

Algorithms

See our directory.

Languages
Python 99.9%
Shell 0.1%