All Algorithms implemented in Python the-algorithms.com/
Go to file
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
.github Update stale.yml 2019-08-29 00:53:42 +05:30
arithmetic_analysis print() is a function just like every other function (#1101) 2019-08-06 12:14:23 +02:00
backtracking Added sudoku solving program in backtracking algorithms (#1128) 2019-08-13 15:51:06 +02:00
boolean_algebra added doctests for compare_string and is_for_table (#1138) 2019-08-23 00:55:41 +08:00
ciphers Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
compression Added Burrows-Wheeler transform algorithm. (#1029) 2019-07-17 20:32:04 +02:00
conversions bin(num). convert ZERO and negative decimal numbers to binary. (#1093) 2019-08-03 20:00:10 +02:00
data_structures Add Binomial Heap (#1146) 2019-09-05 07:58:37 +02:00
digital_image_processing fix outdated fork error (#1117) 2019-08-08 17:59:15 +02:00
divide_and_conquer changing typo (#1168) 2019-09-04 22:06:44 +02:00
dynamic_programming Fully refactored the rod cutting module. (#1169) 2019-09-05 08:22:06 +02:00
file_transfer Fix tests for file_transfer and perceptron.py (#1121) 2019-08-11 13:00:58 +02:00
graphs Fixing lgtm issue in basic graphs (#1141) 2019-08-20 07:02:43 +02:00
hashes Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
linear_algebra Remove 'python' from the filename (#1130) 2019-08-15 13:19:38 +02:00
machine_learning implementation of sorted vector machines (#1156) 2019-08-28 12:56:43 +02:00
maths Add radix2 FFT (#1166) 2019-09-06 11:06:56 +02:00
matrix Added OOP approach to matrices (#1165) 2019-09-08 07:07:14 +02:00
networking_flow Add doctests to networking_flow/minimum_cut.py (#1126) 2019-08-13 11:59:49 +02:00
neural_network Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
other Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
project_euler solution to problem 551 from project euler (#1164) 2019-09-01 08:07:31 +02:00
scripts Update DIRECTORY (#1161) 2019-09-06 11:02:37 +02:00
searches Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
sorts Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
strings Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
traversals Added a few doctests for traversals (#1149) 2019-08-25 14:14:17 +02:00
.gitignore Update .gitignore to remove __pycache__/ (#1127) 2019-08-17 00:46:33 +02:00
.travis.yml Fix tests for file_transfer and perceptron.py (#1121) 2019-08-11 13:00:58 +02:00
CONTRIBUTING.md Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
DIRECTORY.md Update DIRECTORY (#1161) 2019-09-06 11:02:37 +02:00
LICENSE.md Create CONTRIBUTING.md (#864) 2019-06-02 12:14:18 +08:00
README.md Add badges to the top of README.md (#1064) 2019-07-24 14:34:22 +02:00
requirements.txt Travis CI: Add pytest --doctest-modules machine_learning (#1016) 2019-08-10 22:48:00 +02:00

The Algorithms - Python

Donate  Build Status  LGTM  Gitter chat  contributions welcome   

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.

Open in Gitpod

Community Channel

We're on Gitter! Please join us.

Algorithms

See our directory.