Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major rework to improve code quality and add automation checks #805

Merged
merged 484 commits into from
Jun 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
484 commits
Select commit Hold shift + click to select a range
68cf854
delete secant method - it is identical to regula falsi
kvedala May 29, 2020
7af2ad1
document + improvize root finding algorithms
kvedala May 29, 2020
bf3ec59
attempt to document gaussian elimination
kvedala May 29, 2020
2e0a50b
added file brief
kvedala May 29, 2020
68392e2
commented doxygen-mainpage, added files-list link
kvedala May 29, 2020
05e544b
corrected files list link path
kvedala May 29, 2020
1ec59ba
files-list link correction - this time works :)
kvedala May 29, 2020
7dfde74
document successive approximations
kvedala May 29, 2020
413198b
cleaner equation
kvedala May 29, 2020
1afdaa2
updating DIRECTORY.md
May 29, 2020
939af46
Merge pull request #5 from kvedala/document/stats
kvedala May 29, 2020
8621a1d
documented kmp string search
kvedala May 29, 2020
fc47eff
document brute force string search
kvedala May 29, 2020
26701b3
document rabin-karp string search
kvedala May 29, 2020
8236252
fixed mainpage readme
kvedala May 29, 2020
a79ce9d
doxygen v1.8.18 will suppress out the #minipage in the markdown
kvedala May 29, 2020
12250c9
Merge pull request #6 from kvedala/document/strings
kvedala May 29, 2020
8036cf0
cpplint correction for header guard style
kvedala May 29, 2020
29705ac
github action to auto format source code per cpplint standard
kvedala May 29, 2020
e459ea2
updated setting to add 1 space before `private` and `public` keywords
kvedala May 29, 2020
adae176
auto rename files and auto format code
kvedala May 29, 2020
4c282ae
added missing "run" for step
kvedala May 29, 2020
8edc022
corrected asignmemt operation
kvedala May 29, 2020
0ea90eb
fixed trim and assign syntax
kvedala May 29, 2020
1a8cc7e
added git move for renaming bad filenames
kvedala May 29, 2020
a045cf8
added missing pipe for trim
kvedala May 29, 2020
cbcebf3
added missing space
kvedala May 29, 2020
48bf529
use old and new fnames
kvedala May 29, 2020
1d11ab4
store old fname using echo
kvedala May 29, 2020
93b9bc1
move files only if there is a change in filename
kvedala May 29, 2020
493c52f
put old filenames in quotes
kvedala May 29, 2020
45f5bb6
use double quote for old filename
kvedala May 29, 2020
29c066d
escape double quotes
kvedala May 29, 2020
c0dcc91
remove old_fname
kvedala May 29, 2020
63f13ea
try escape characters and echo"
kvedala May 29, 2020
18a74bb
add file-type to find
kvedala May 29, 2020
24f65d8
cleanup echo
kvedala May 29, 2020
bb973aa
ensure all trim variables are also in quotes
kvedala May 29, 2020
b5f4637
try escape -quote again
kvedala May 29, 2020
4011a18
remove second escpe quote
kvedala May 29, 2020
b324223
use single quote for first check
kvedala May 29, 2020
097f0d2
use carets instead of quotes
kvedala May 29, 2020
43b2880
put variables in brackets
kvedala May 29, 2020
b9ed824
remove -e from echo
kvedala May 29, 2020
2a674c3
add debug echos
kvedala May 29, 2020
9844d88
try print0 flag
kvedala May 29, 2020
1d24b96
find command with while instead of for-loop
kvedala May 29, 2020
0e13065
find command using IFS instead
kvedala May 29, 2020
65dbaf7
:tada: IFS fix worked - escaped quotes for git mv
kvedala May 29, 2020
9643f75
protetc each word in git mv ..
kvedala May 29, 2020
7b6932c
filename exists in lower cases - renamed
kvedala May 29, 2020
e7bc4e2
:tada: git push enabled
kvedala May 29, 2020
fd394fd
updating DIRECTORY.md
May 29, 2020
fed47f6
git pull & then push
kvedala May 29, 2020
d7af6fd
Merge branch 'auto-format-source' of https://github.com/kvedala/C-Plu…
kvedala May 29, 2020
edb3d51
formatting filenames d7af6fdc8cb08578de6980d412e6e1caca1a1bcf
May 29, 2020
7ad1f17
formatting source-code for d7af6fdc8cb08578de6980d412e6e1caca1a1bcf
May 29, 2020
7e634c2
remove allman break before braces
kvedala May 29, 2020
5c40942
updating DIRECTORY.md
May 29, 2020
daca1b5
added missing comma lost in previous commit
kvedala May 29, 2020
01183cc
Merge branch 'auto-format-source' of https://github.com/kvedala/C-Plu…
kvedala May 29, 2020
e9d29ca
orchestrate all workflows
kvedala May 30, 2020
3496cf3
fix yml indentation
kvedala May 30, 2020
bc615f5
force push format changes, add title to DIRECTORY.md
kvedala May 30, 2020
40af5a5
pull before proceeding
kvedala May 30, 2020
388d06c
reorganize pull commands
kvedala May 30, 2020
03d7fa8
use master branches for actions
kvedala May 30, 2020
b285d09
rename .cc files to .cpp
kvedala May 30, 2020
231d5c4
added class destructor to clean up dynamic memory allocation
kvedala May 30, 2020
b8a9778
rename to awesome workflow
kvedala May 30, 2020
cac9505
commented whole repo cpplint - added modified files lint check
kvedala May 30, 2020
5a737a7
removed need for cpplint
kvedala May 30, 2020
2bf0c00
attempt to use actions/checkout@master
kvedala May 30, 2020
153fb7b
temporary: no dependency on cpplint
kvedala May 30, 2020
92fe949
formatting filenames 153fb7b8a572aaf4561ac3d22d47e89480f11318
May 30, 2020
8a2de98
formatting source-code for 153fb7b8a572aaf4561ac3d22d47e89480f11318
May 30, 2020
3ab7645
updating DIRECTORY.md
May 30, 2020
809ddd8
Merge pull request #7 from kvedala/auto-format-source
kvedala May 30, 2020
642c7b7
fix diff filename
kvedala May 30, 2020
b596b7e
added comments to the code
kvedala May 30, 2020
72f53da
added test case
kvedala May 30, 2020
a850308
Merge branch 'master' into compute_realtime_stats
kvedala May 30, 2020
227c455
formatting source-code for a850308fbada18c0d4b6f9a9cac5c34fc064cbae
May 30, 2020
704e114
updating DIRECTORY.md
May 30, 2020
c9e4e8c
Merge pull request #8 from kvedala/compute_realtime_stats
kvedala May 30, 2020
3bb7120
added machine learning folder
kvedala May 31, 2020
c52952c
added adaline algorithm
kvedala May 31, 2020
7d06916
updating DIRECTORY.md
May 31, 2020
4025aa9
fixed issue [LWG2192](https://cplusplus.github.io/LWG/issue2192) for …
kvedala May 31, 2020
f8925e4
add cmath for same bug: [LWG2192](https://cplusplus.github.io/LWG/iss…
kvedala May 31, 2020
1c05a58
formatting source-code for f8925e482216aecd152bc898653ee9ab82213cf3
May 31, 2020
48e24af
Merge pull request #9 from kvedala/machine_learning/adaline
kvedala May 31, 2020
f94a330
use STL's inner_product
kvedala May 31, 2020
8d7d0c5
formatting source-code for f94a3305943d4cf00e4531857279b8032d0e9489
May 31, 2020
a07c46c
added range comments
kvedala May 31, 2020
6536a79
define activation function
kvedala May 31, 2020
9ded2c1
use equal initial weights
kvedala May 31, 2020
14068ef
change test2 function to predict
kvedala May 31, 2020
0e28592
activation function not friend
kvedala May 31, 2020
b1c6556
previous commit correction
kvedala May 31, 2020
2d44fb1
added option for predict function to return value before applying act…
kvedala May 31, 2020
5e6c374
added test case to classify points lying within a sphere
kvedala May 31, 2020
09f6252
Merge pull request #10 from kvedala/machine_learning/adaline
kvedala May 31, 2020
15ec4c3
Merge remote-tracking branch 'upstream/master' into merge-upstream
kvedala May 31, 2020
82f3fff
improve documentation for adaline
kvedala May 31, 2020
1ffb261
formatting source-code for 15ec4c3aba4fb41b81ed2b44b7154a4f7b45a898
May 31, 2020
524c5ae
Merge branch 'merge-upstream'
kvedala May 31, 2020
6b759eb
added cmake to geometry folder
kvedala May 31, 2020
e9e5588
added algorithm include for std::max
kvedala May 31, 2020
e9f795e
Merge branch 'merge_upstream'
kvedala May 31, 2020
5796202
add namespace - machine_learning
kvedala Jun 1, 2020
1125c85
add namespace - statistics
kvedala Jun 1, 2020
c2c4681
add namespace - sorting
kvedala Jun 1, 2020
5a2615c
added sorting algos to namespace sorting
kvedala Jun 1, 2020
fd69530
added namespace string_search
kvedala Jun 1, 2020
4fe430d
formatting source-code for fd695305150777981dc2a1f256aa2be444e4f108
Jun 1, 2020
8df3288
Merge pull request #11 from kvedala/add_namespaces
kvedala Jun 1, 2020
e7cd34e
added documentation to string_search namespace
kvedala Jun 1, 2020
09af5e3
feat: Add BFS and DFS algorithms to check for cycle in a directed graph
Anmol3299 Jun 2, 2020
c1fadaa
Remove const references for input of simple types
Anmol3299 Jun 3, 2020
a3df421
fix bad code
Anmol3299 Jun 3, 2020
a77dafb
Use pointer instead of the non-const reference
Anmol3299 Jun 3, 2020
8f04ffe
Remove a useless and possibly bad Graph constuctor overload
Anmol3299 Jun 3, 2020
9d8736e
Explicitely specify type of vector during graph instantiation
Anmol3299 Jun 3, 2020
cb5fee4
Merge pull request #12 from Anmol3299/master
kvedala Jun 3, 2020
6ebd883
updating DIRECTORY.md
Jun 3, 2020
c476105
find openMP before adding subdirectories
kvedala Jun 4, 2020
65def00
added kohonen self organizing map
kvedala Jun 4, 2020
c6f12f2
updating DIRECTORY.md
Jun 4, 2020
aea5852
remove older files and folders from gh-pages before adding new files
kvedala Jun 4, 2020
cb6e721
Merge branch 'machine_learning/kohonen_som' of https://github.com/kve…
kvedala Jun 4, 2020
1085bf4
remove chronos library due to inacceptability by cpplint
kvedala Jun 4, 2020
c8a2b1d
use c++ specific static_cast instead
kvedala Jun 4, 2020
6c085a1
Merge pull request #13 from kvedala/machine_learning/kohonen_som
kvedala Jun 4, 2020
503593e
initialize radom number generator
kvedala Jun 4, 2020
ebeaebe
updated image links with those from CPP repository
kvedala Jun 4, 2020
1116ab2
rename computer.... folder to numerical methods
kvedala Jun 4, 2020
eb977ba
added durand kerner method for root computation for arbitrarily large…
kvedala Jun 4, 2020
bbd578d
fixed additional comma
kvedala Jun 4, 2020
355d84d
fix cpplint errors
kvedala Jun 4, 2020
7a4ca60
updating DIRECTORY.md
Jun 4, 2020
4d548fe
convert to function module
kvedala Jun 4, 2020
4b68a88
update documentation
kvedala Jun 4, 2020
4e75c6d
move openmp to main loop
kvedala Jun 4, 2020
29ed37d
added two test cases
kvedala Jun 4, 2020
3b37d06
use INT16_MAX
kvedala Jun 4, 2020
5e34779
remove return statement from omp-for loop and use "break"
kvedala Jun 4, 2020
586ac1a
run tests when no input is provided and skip tests when input polynom…
kvedala Jun 4, 2020
0e5d841
while loop cannot have break - replaced with continue and check is pr…
kvedala Jun 4, 2020
89f33a4
(1) break while loop (2) skip runs on break_loop instead of hard-break
kvedala Jun 4, 2020
b7d05ea
add documentation images
kvedala Jun 4, 2020
42f78bb
use long double for errors and tolerance checks
kvedala Jun 4, 2020
645321c
make iterator variable i local to threads
kvedala Jun 4, 2020
e4f5397
add critical secions to omp threads
kvedala Jun 4, 2020
b61d65f
Merge pull request #14 from kvedala/numerical_methods
kvedala Jun 4, 2020
7f82722
bugfix: move file writing outside of the parallel loop
kvedala Jun 4, 2020
b8686d3
Merge remote-tracking branch 'upstream/master' into merge_upstream
kvedala Jun 4, 2020
495bffc
rename folder to data_structures
kvedala Jun 4, 2020
9fc62d4
Merge remote-tracking branch 'origin/merge_upstream' into merge_upstream
kvedala Jun 4, 2020
014bdc5
updating DIRECTORY.md
Jun 4, 2020
7c85599
fix ambiguous symbol `size`
kvedala Jun 4, 2020
c0394d8
Merge branch 'merge_upstream' of https://github.com/kvedala/C-Plus-Pl…
kvedala Jun 4, 2020
8960eda
add data_structures to cmake
kvedala Jun 4, 2020
4d0c023
docs: enable tree view, add timestamp in footer, try clang assistaed …
kvedala Jun 5, 2020
9b61ef9
doxygen - open links in external window
kvedala Jun 5, 2020
d0e0a07
remove invalid parameter from function docs
kvedala Jun 5, 2020
82a6ea0
use HTML5 img tag to resize images
kvedala Jun 5, 2020
9e8a647
Merge branch 'master' into merge_upstream
kvedala Jun 5, 2020
6635c0a
move file to proper folder
kvedala Jun 5, 2020
aacaf98
fix documentations and cpplint
kvedala Jun 5, 2020
0a99574
formatting source-code for aacaf9828c61bb0246fe0933ab8ade82128b8346
Jun 5, 2020
ee73905
updating DIRECTORY.md
Jun 5, 2020
281a0af
cpplint: add braces for multiple statement if
kvedala Jun 5, 2020
8f05353
add explicit link to badges
kvedala Jun 5, 2020
c9a8b31
Merge pull request #15 from kvedala/merge_upstream
kvedala Jun 5, 2020
70bb8c8
remove duplicate line
kvedala Jun 5, 2020
9511fe3
remove namespace indentation
kvedala Jun 6, 2020
172cd7b
remove file associations in settings
kvedala Jun 6, 2020
43362d3
add author name
kvedala Jun 6, 2020
ff6cb07
enable cmake in subfolders of data_structures
kvedala Jun 6, 2020
30cf80c
create and link object file
kvedala Jun 6, 2020
36510f1
cpp lint fixes and instantiate template classes
kvedala Jun 6, 2020
cf89208
cpp lint fixes and instantiate template classes
kvedala Jun 6, 2020
e7b7d45
cpplint - ignore `build/include`
kvedala Jun 6, 2020
f1af8c1
disable redundant gcc compilation in cpplint workflow
kvedala Jun 6, 2020
57a9511
template header files contain function codes as well and removed redu…
kvedala Jun 6, 2020
d97f7c1
updating DIRECTORY.md
Jun 6, 2020
b3f0b75
remove semicolons after functions in a class
kvedala Jun 6, 2020
8a2bef9
cpplint header guard style
kvedala Jun 6, 2020
869245d
remove semilon
kvedala Jun 6, 2020
ec439c5
Merge pull request #16 from kvedala/merge_upstream
kvedala Jun 6, 2020
bde4be2
added LU decomposition algorithm
kvedala Jun 8, 2020
acc50fc
added QR decomposition algorithm
kvedala Jun 8, 2020
9ac0602
use QR decomposition to find eigen values
kvedala Jun 8, 2020
3772fb0
updating DIRECTORY.md
Jun 8, 2020
f3fb413
use std::rand for thread safety
kvedala Jun 8, 2020
37728bf
move srand to main()
kvedala Jun 8, 2020
f401658
cpplint braces correction
kvedala Jun 8, 2020
37b7389
Merge pull request #17 from kvedala/numerical_methods
kvedala Jun 8, 2020
28410ec
updated eigen value documentation
kvedala Jun 9, 2020
0ef8ec6
fix matrix shift doc
kvedala Jun 9, 2020
40e882f
rename CONTRIBUTION.md to CONTRIBUTING.md #836
kvedala Jun 9, 2020
f32091d
remove 'sort alphabetical order' check
kvedala Jun 9, 2020
eff0b7a
added documentation check
kvedala Jun 9, 2020
4fde67a
Merge pull request #18 from kvedala/document/others
kvedala Jun 9, 2020
3dda8a9
remove extra paranthesis
kvedala Jun 9, 2020
167132f
added gitpod
kvedala Jun 9, 2020
7337fe6
added gitpod link from README
kvedala Jun 9, 2020
6ad45a7
Merge pull request #19 from kvedala/gitpod
kvedala Jun 9, 2020
8d7942f
attempt to add vscode gitpod extensions
kvedala Jun 9, 2020
9ab3e0b
update gitpod extensions
kvedala Jun 9, 2020
ebd04b3
add gitpod extensions cmake-tools and git-graph
kvedala Jun 9, 2020
8309630
remove gitpod init and add commands
kvedala Jun 9, 2020
e9a4b2c
use init to one time install doxygen, graphviz, cpplint
kvedala Jun 9, 2020
5cc9e6c
use gitpod dockerfile
kvedala Jun 9, 2020
e54c6f6
add ninja build system to docker
kvedala Jun 9, 2020
de11860
remove configure task
kvedala Jun 9, 2020
d95d24d
add github prebuild specs to gitpod
kvedala Jun 9, 2020
5ce0382
disable gitpod addcommit
kvedala Jun 9, 2020
1260848
Merge pull request #20 from kvedala/gitpod
kvedala Jun 9, 2020
a240f24
update documentation for kohonen_som
kvedala Jun 10, 2020
4699bda
added ode solve using forward euler method
kvedala Jun 11, 2020
3f4b60e
added mid-point euler ode solver
kvedala Jun 11, 2020
5a46e43
fixed itegration step equation
kvedala Jun 11, 2020
6b83dd2
added semi-implicit euler ODE solver
kvedala Jun 11, 2020
ad1633a
updating DIRECTORY.md
Jun 11, 2020
4e05586
fix cpplint issues - lines 117 and 124
kvedala Jun 11, 2020
bd42ae5
added documentation to ode group
kvedala Jun 11, 2020
20d7a6b
Merge pull request #21 from kvedala/euler_integration_ode
kvedala Jun 11, 2020
11689f4
corrected semi-implicit euler function
kvedala Jun 11, 2020
77518ee
updated docs and test cases better structure
kvedala Jun 12, 2020
e2996ce
replace `free` with `delete` operator
kvedala Jun 12, 2020
f55ab50
Merge commit upstream/master into merge_upstream
kvedala Jun 14, 2020
cdb9766
formatting source-code for f55ab50cf26d176fe56bdaffa6f0ce8023c03c18
Jun 14, 2020
1bf5a19
updating DIRECTORY.md
Jun 14, 2020
3c1449e
main function must return
kvedala Jun 14, 2020
45e6f3c
Merge pull request #22 from kvedala/merge_upstream
kvedala Jun 14, 2020
3229e10
added machine learning group
kvedala Jun 15, 2020
16a440b
added kohonen som topology algorithm
kvedala Jun 15, 2020
a2ff0ce
fix graph image path
kvedala Jun 15, 2020
8064f15
updating DIRECTORY.md
Jun 15, 2020
d003d49
fix braces
kvedala Jun 15, 2020
8bc35c0
use snprintf instead of sprintf
kvedala Jun 15, 2020
6949570
use static_cast
kvedala Jun 15, 2020
97af012
hardcode character buffer size
kvedala Jun 15, 2020
8b45351
Merge pull request #23 from kvedala/machine_learning/kohonen_som
kvedala Jun 15, 2020
634fb88
fix machine learning groups in documentation
kvedala Jun 15, 2020
b5cb86f
fix missing namespace function
kvedala Jun 15, 2020
15c20f9
replace kvedala fork references to TheAlgorithms
kvedala Jun 19, 2020
db430a9
fix bug in counting_sort
kvedala Jun 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating DIRECTORY.md
  • Loading branch information
github-actions authored and github-actions committed May 29, 2020
commit 1afdaa24b6f739bba79004d1226391ccc937cd74
1 change: 0 additions & 1 deletion DIRECTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* [Gaussian Elimination](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/computer_oriented_statistical_methods/gaussian_elimination.cpp)
* [Newton Raphson Method](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/computer_oriented_statistical_methods/newton_raphson_method.cpp)
* [Ordinary Least Squares Regressor](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/computer_oriented_statistical_methods/ordinary_least_squares_regressor.cpp)
* [Secant Method](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/computer_oriented_statistical_methods/secant_method.cpp)
* [Successive Approximation](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/computer_oriented_statistical_methods/successive_approximation.cpp)

## Data Structure
Expand Down