Commit Graph

1575 Commits

Author SHA1 Message Date
David Leal
7ef02d1cdb
Merge branch 'master' into Lazeeez 2021-11-07 15:34:11 -06:00
Lajat5
02ff19155d
Update geometry/graham_scan_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-07 23:58:05 +05:30
Lajat5
7c3fc8bec9
Update geometry/graham_scan_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-07 23:57:58 +05:30
Lajat5
8577fcfe5b
Update geometry/graham_scan_functions.hpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-07 23:57:52 +05:30
2kindsofcs
e64e3df18f
fix: CodeQL warnings (#1827)
* fix: CodeQL warnings

* clang-format and clang-tidy fixes for 4d357c46

* clang-format and clang-tidy fixes for 72322fb7

* accept suggestion

* clang-format and clang-tidy fixes for 9a4dc07c

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-11-07 11:49:33 -06:00
github-actions
176051b1a4 clang-format and clang-tidy fixes for 333ef5ca 2021-11-07 16:48:36 +00:00
David Leal
333ef5cab6
Merge branch 'master' into Lazeeez 2021-11-07 10:47:54 -06:00
Ameya Chawla
b98dcdfd08
feat : Implemented Babylonian Method (#1837)
* feat : Implemented Babylonian Method 

Babylonian method is used to calculate  square roots .

* Update numerical_methods/babylonian_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 9596ac79

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-07 10:36:08 -06:00
github-actions
91d669a8d2 clang-format and clang-tidy fixes for 405d21a5 2021-11-07 03:57:30 +00:00
github-actions
280cf61e24 updating DIRECTORY.md 2021-11-07 03:57:22 +00:00
David Leal
405d21a544
Create inverse_fast_fourier_transform.cpp 2021-11-06 21:56:42 -06:00
github-actions
13c3d22576 updating DIRECTORY.md 2021-11-07 03:54:55 +00:00
David Leal
e79e317a49
Create composite_simpson_rule.cpp 2021-11-06 21:54:20 -06:00
github-actions
9465ef265d clang-format and clang-tidy fixes for 2957fd21 2021-11-07 03:01:49 +00:00
Lajat5
2957fd21d0 Fix #4 2021-11-07 03:01:04 +00:00
Lajat5
44fd62764f
Update graham_scan_functions.hpp 2021-11-06 18:09:32 +05:30
github-actions
02696ce780 clang-format and clang-tidy fixes for 1c05ca7c 2021-11-06 09:22:31 +00:00
Lajat5
1c05ca7c82 Merge branch 'Lazeeez' of https://github.com/Lazeeez/C-Plus-Plus into Lazeeez 2021-11-06 09:21:50 +00:00
Lajat5
e68ba6c051 Fix #3 2021-11-06 09:21:48 +00:00
github-actions
e90e0d647b clang-format and clang-tidy fixes for 69b6832b 2021-11-06 09:03:12 +00:00
github-actions
1a4bd721a7 updating DIRECTORY.md 2021-11-06 09:03:04 +00:00
Lajat5
69b6832b9a Fix #2 2021-11-06 09:02:27 +00:00
Lajat5
2d15e14e1e
Delete inverse_fast_fourier_transform.cpp 2021-11-06 14:25:31 +05:30
Lajat5
f5ccb3e4a7
Delete composite_simpson_rule.cpp 2021-11-06 14:25:24 +05:30
Lajat5
a41612c94d
Update graham_scan_functions.hpp 2021-11-06 13:17:05 +05:30
Lajat5
6b0a7d0eee Merge branch 'Lazeeez' of https://github.com/Lazeeez/C-Plus-Plus into Lazeeez 2021-11-06 06:57:02 +00:00
Lajat5
3331f181f0 Fix #1 2021-11-06 06:56:13 +00:00
github-actions
ea117764ef clang-format and clang-tidy fixes for 7df4778f 2021-11-06 06:55:28 +00:00
Lajat5
7df4778f28
Merge branch 'master' into Lazeeez 2021-11-06 12:24:37 +05:30
github-actions
af702116fd clang-format and clang-tidy fixes for e89e4c8c 2021-11-06 06:48:57 +00:00
github-actions
c88a858ea2 updating DIRECTORY.md 2021-11-06 06:48:44 +00:00
Lajat5
e89e4c8ce8
Update geometry/graham_scan_functions.hpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-06 12:18:04 +05:30
David Leal
5bfc7740c8
fix: remove the ms-vscode.cpptools extension 2021-11-05 18:39:50 -06:00
David Leal
f5f7824909
fix: Update Gitpod extensions (#1839) 2021-11-05 18:37:02 -06:00
Lajat5
a16bf9b6ec
Update geometry/graham_scan_functions.hpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-04 10:53:54 +05:30
Lajat5
6be4aaf0e5
Merge branch 'master' into Lazeeez 2021-11-04 10:48:22 +05:30
Lajat5
20f80fcc80
Update geometry/graham_scan_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-04 10:48:02 +05:30
Lajat5
17a2e85b88
Update geometry/graham_scan_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-04 10:47:55 +05:30
Ameya Chawla
87ef61ae23
feat : Implemented Inverse Fast Fourier Transform (#1834)
* feat : Implemented Inverse Fast Fourier Transform

Slightly different from fast Fourier transform
Just the om variable declared in line 40 is divided by n
and swapping the testing inputs with testing outputs .

* Update numerical_methods/Inverse_fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/Inverse_fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/Inverse_fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* formatting filenames d7f9a946

* updating DIRECTORY.md

* fix : optimized the code

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-11-04 00:46:21 +05:30
ggkogkou
0c08cd75f9
feat: Created composite Simpson's numerical integration method (#1773)
* Created composite Simpson's numerical integration method

* Created midpoint numerical integration method

* Corrections

* deleted: unnecessary file

* fixed: doucumentation and structure

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/composite_simpson_rule.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* fixed: compilation and documentation error

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-11-03 12:22:08 -06:00
Lajat5
23a5665c5c
Update and rename graham_scan_functions.h to graham_scan_functions.hpp 2021-11-03 11:03:41 +05:30
Lajat5
95cd2f4db3
Update graham_scan_algorithm.cpp 2021-11-03 11:02:49 +05:30
Lajat5
f1b83dd4c9
Update graham_scan_functions.h 2021-11-03 10:51:17 +05:30
Lajat5
d06a7b5049
Update graham_scan_algorithm.cpp 2021-11-03 10:47:59 +05:30
Lajat5
4a5987a9f7
Update graham_scan_functions.h 2021-11-03 10:37:14 +05:30
Lajat5
27d349ae42
Update graham_scan_algorithm.cpp 2021-11-03 10:33:24 +05:30
Lajat5
e53047e301 Implementated Grahamscan Algorithm for Convex Hull 2021-11-03 04:53:46 +00:00
Alvin Philips
1f0eff28d0
fix: Circular linked list (#1825)
* Create reverse_binary_tree.cpp

* Added documentation

Added Documentation for the level_order_traversal() function, and implemented a print() function to display the tree to STDOUT

* Added documentation

* Renamed tests to test

* Fixed issue with incorrect using statement

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for fb86292d

* Added Test cases

* Update operations_on_datastructures/reverse_binary_tree.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update operations_on_datastructures/reverse_binary_tree.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update operations_on_datastructures/reverse_binary_tree.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update operations_on_datastructures/reverse_binary_tree.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update operations_on_datastructures/reverse_binary_tree.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Changed int to int64_t

* Updated documentation wording

* Rewrote node struct and file structure

* Added Circular Linked List

* Update doc

* Wrote bulk of code, added documentation

* clang-format and clang-tidy fixes for 06f11f1e

* Update operations_on_datastructures/circular_linked_list.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update operations_on_datastructures/circular_linked_list.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 25ed3ea0

* Added parameter documentation

* Added destructor for CircularLinkedList

* Fixed memory bug

* Update circular_linked_list.cpp

* Update circular_linked_list.cpp

* Added move constructor and assignment operator

* clang-format and clang-tidy fixes for b36e4736

* Fixed copy and move operators/constructors and added documentation

* clang-format and clang-tidy fixes for 24d3b9c2

* Added missing returns

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-11-02 11:03:49 -06:00
Ameya Chawla
b4b0864da1
feat: Implemented Fast Fourier Transform algorithm (#1700)
* feat ; Implemented Fast Fourier Transform

* feat : Implemented Fast Fourier Transform

* fix : added comments to header

* Fixing Code Formatter errors

* fix : updated the documentation

* fix : removed bad practice of using namespace td

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* fix : fixed the integer values with their appropriate size

* Fixed errors

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Fixed many errors

* fix : fixed array errors

* fix: fixing memory leak errors

* fix: using delete instead of free as mentioned in errors

* fix : using delete[ ] instead of delete

* fix : fixing errors for memory leaks

* Update fast_fourier_transform.cpp

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for a6594c85

* fix : updated documentation

* fix : added time complexity in documentation

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* fix : update code as per the namespace numerical_methods

* fix : use of auto keyword to reduce complexity

* fix : updated documentation

* fix : fixed segmentation fault error

* fix : fixing clang-tidy errors

* fix : fixing clang-tidy errors

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* fix : updated documentation

* fix : fixing warnings

* Update fast_fourier_transform.cpp

* Update fast_fourier_transform.cpp

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 198b4297

* Update fast_fourier_transform.cpp

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* a

* Apply suggestions from code review

* fix : updating leak memeory

* Update fast_fourier_transform.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-02 10:52:18 -06:00
ggkogkou
8a6f2052e2
feat: Created midpoint integration numerical method (#1785)
* Created composite Simpson's numerical integration method

* Created midpoint numerical integration method

* Corrections

* Midpoint method

* Improved Documentation

* added namespace numerical_methods

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for ec5e0cce

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 7f16cc14

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update midpoint_integral_method.cpp

* All changes have been applied

* clang-format and clang-tidy fixes for 6617e060

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for a5a50f89

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 4c60e180

* Create midpoint_integral_method.cpp

* Update numerical_methods/midpoint_integral_method.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 27f76052

* Update midpoint_integral_method.cpp

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-01 07:56:40 -06:00