As described in CONTRIBUTING.md
> Expand acronyms because gcd() is hard to understand but greatest_common_divisor() is not.
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
* Added algorithm for creating Hamming numbers series in Python
* Changed to f-string format.
* Added modifications
* Update and rename hamming.py to hamming_numbers.py
* Update hamming_numbers.py
* Update hamming_numbers.py
* Rename maths/series/hamming_numbers.py to maths/hamming_numbers.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* renames prime functions and occurances in comments
* changes implementation of primality testing to be uniform
* adds static typing as per conventions
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* Get rid of the Union
* updating DIRECTORY.md
* Get rid of the Union
* Remove the redundant pre-commit runs.
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* initial commit
* first implementation of hard margin
* remove debugging print
* many commits squashed because pre-commit was buggy
* more kernels and improved kernel management
* remove unnecessary code + fix names + formatting + doctests
* rename to fit initial naming
* better naming and documentation
* better naming and documentation
* MAINT: Used f-string method
Updated the code with f-string methods wherever required for a better and cleaner understanding of the code.
* Updated files with f-string method
* Update rsa_key_generator.py
* Update rsa_key_generator.py
* Update elgamal_key_generator.py
* Update lru_cache.py
I don't think this change is efficient but it might tackle the error as the error was due to using long character lines.
* Update lru_cache.py
* Update lru_cache.py
Co-authored-by: cyai <seriesscar@gmail.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
* Added censor function
* Added censor code
* Added comments to the code
* modified censor function
* added decrypt function
* added cypher and decypher functions, deleted censor and decrypt functions
* Deleted decrypt.py
* Deleted censor.py
* edited the crypt and decrypt files
* Update cypher_txt.py
* Remove the endline in cypher.py
* Removed the print at the end of decypher.py
* added 4 new algorithms
* added tests to the four files
* added type hints for the function variables
* Deleted decode message
* Deleted code message
* Welford average algorithm
* added average welford algorithm
* is_narcissistic added
* added a descriptive name
* added max_sectors algorithm
* added find_unique
* added wave algorithm
* deleting average_welford [ in the wrong pr ]
* deleting is_narcissistic [ is in the wrong pr ]
* deleting max_sectors [ is in the wrong pr ]
* deleting find_unique [ is in the wrong pr ]
* deleting censor [ is in the wrong pr ]
* deleting decrypt [ is in the wrong pr ]
* fixed wave.py
fixed indentation and followed the bots reccomendations
* fixed wave.py again
* fixing wave.py for the third time.
* fixing wave.py
* merging strings/wave.py
merging the suggestion
Co-authored-by: John Law <johnlaw.po@gmail.com>
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Create non_preemptive_shortest_job_first.py
* 파일 위치 변경
* Delete non_preemptive_shortest_job_first.py
* delete Korean comments
* change comments, & to and, type annotation
* type annotation
* delete unnecessary comment
* Add Multi-Level-Feedback-Queue scheduling algorithm
* fix type hint annotation for pre-commit
* Update scheduling/multi_level_feedback_queue.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Update scheduling/multi_level_feedback_queue.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Update scheduling/multi_level_feedback_queue.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Update scheduling/multi_level_feedback_queue.py
* Update scheduling/multi_level_feedback_queue.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Added excel column title to number algorithm as part of conversions
* Renamed file to better reflect algorithm function
* Removed duplicate file
* Update excel_title_to_column.py
* Update excel_title_to_column.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Fixed bug where array length 2 can't be sorted
* Add MCC and DU path test
Add test to conversions/octal_to_decimal.py and sorts\iterative_merge_sort.py
* ""
* Update octal_to_decimal.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Add files via upload
* Changed print to f-string
Also printed out results in a math notation
* Add files via upload
* Fixes: #4710 provided return type
* File exists in another pull request
* imported radians from math
* Updated file according to pre-commit test
* Updated file
* Updated gamma
* Deleted duplicate file
* removed pi
* reversed tests
* Fixed angle condition
* Modified prints to f-string
* Update horizontal_projectile_motion.py
* Update horizontal_projectile_motion.py
* Fixes#4710 added exceptions and tests
* Added float tests
* Fixed type annotations
* Fixed last annotation
* Fixed annotations
* fixed format
* Revert "fixed format"
This reverts commit 5b0249ac0a.
Undo changes
@wq
* Revert "Fixed annotations"
This reverts commit c37bb95408.
* Revert "Fixed last annotation"
This reverts commit e3678fdead.
* Revert "Fixed type annotations"
This reverts commit 3f2b238c34.
* Revert to 4e2fcaf6fb
* Fixing errors found during pre-commit
* Added gauss law
* Implemented Lorenz tranformation with four vector
* pre-commit fixes
* flake8 fixes
* More flake8 fixes
* Added blank space for flake8
* Added reference
* Trailing whitespace fix
* Replaced argument u with velocity (descriptive name fix)
* Added tests for functions + moved velocity check to beta function
* Modified condition to 'not symbolic' in the transform function
* trainling whitespace fix
* Added type hint for 'smybolic' argument in transform function
* Changed reference to avoid pre-commit fails because of spelling issue related to the URL
* Added tests for gamma and transformation_matrix functions
* Fixed transformation_matrix tests
* Fixed tests on beta and gamma functions
* First commit for add_prefix_conversion
* Class names in CamelCase, str.format() to f-string
* Fixed following pre-commit guidelines
* solved issues with mypy and enum.Enum
* Rename add_prefix_conversion.py to prefix_conversions_string.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Add files via upload
* Changed print to f-string
Also printed out results in a math notation
* Add files via upload
* Fixes: #4710 provided return type
* File exists in another pull request
* imported radians from math
* Updated file according to pre-commit test
* Updated file
* Updated gamma
* Deleted duplicate file
* removed pi
* reversed tests
* Fixed angle condition
* Modified prints to f-string
* Update horizontal_projectile_motion.py
* Update horizontal_projectile_motion.py
* Fixes#4710 added exceptions and tests
* Added float tests
* Fixed type annotations
* Fixed last annotation
* Fixed annotations
* fixed format
* Revert "fixed format"
This reverts commit 5b0249ac0a.
Undo changes
@wq
* Revert "Fixed annotations"
This reverts commit c37bb95408.
* Revert "Fixed last annotation"
This reverts commit e3678fdead.
* Revert "Fixed type annotations"
This reverts commit 3f2b238c34.
* Revert to 4e2fcaf6fb
* Fixing errors found during pre-commit
* feat: added ngram algorithm
* fix(test): use `math.isclose` to match floating point numbers approximately
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>