Python/matrix
Jasper 5b483be73b Added OOP approach to matrices (#1165)
* Added OOP aproach to matrices

* created methods for minors, cofactors, and determinants and added corresponding doctests

* Added methods for adjugate, inverse, and identity (along with corresponding doctests) to matrix_class.py
A small bug persists that causes the doctest to fail.
After a couple Matrix objects are printed, the next one is printed in a different format.

* formatted matrix_class.py with python/black

* implemented negation and exponentiation as well as corresponding doctests in matrix_class.py.  Also implemented eq and ne comparison operations

* changed __str__ method in matrix_class.py to align with numpy standard and fixed bug in cofactors method

* removed property decorators from several methods in matrix_class.py
2019-09-08 07:07:14 +02:00
..
tests Add error & test checks for matrix_operations.py (#925) 2019-07-20 05:06:29 +02:00
matrix_class.py Added OOP approach to matrices (#1165) 2019-09-08 07:07:14 +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 Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
rotate_matrix.py rotate_matrix.py: Add type hints for return values (#1023) 2019-07-23 00:07:09 +02:00
searching_in_sorted_matrix.py Create Searching in sorted matrix (#738) 2019-03-20 23:59:35 +08:00
sherman_morrison.py Created Sherman Morrison method (#1162) 2019-09-03 09:02:53 +02:00
spiral_print.py Updated README 2019-07-06 11:11:20 +05:30