Commit Graph

1337 Commits

Author SHA1 Message Date
Krishna Vedala
b6270eaf2d
treat warnings as errors 2020-07-10 18:38:47 -04:00
Krishna Vedala
61998c0446
fix config syntax & disable rand error 2020-07-10 18:26:04 -04:00
Krishna Vedala
26322e0ddb
update workflow to use clang-tidy checks and apply necessary fixes 2020-07-10 17:09:42 -04:00
Krishna Vedala
caf5e9190a
added clang-tidy config file 2020-07-10 17:09:19 -04:00
Krishna Vedala
9a9781064f
[enhancement] New Graphics implementation with algorithm for spirograph (#557)
* skeleton of spirograph

* add graphics to cmake

* updating DIRECTORY.md

* added cmake to graphics folder

* add stub test function

* working program

* set pre-processor macro if GLUT is available

* use snprintf

details: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm

* conditional include for mac

* corrected conditional include for mac

* fix cmake for MACOS

* OpenGL animation if available, else plot to CSV

* MacOS does not provide glutBitmapString function

* formatting source-code for 8d570b4c28

* fix parameter

* try caps include path GL

* provide custom glutBitmapString cuntion

* add glut library to gitpod docker

* enable VNC in gitpod

* better documentation and cmake configuration

* enable keyboard inputs to pause and change parameters

* fix lgtm alerts

* implementation similar to one in C++ repo

* fix compilation errors on MSVC

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 15:48:07 -04:00
Krishna Vedala
cdf8453db8
[Bug] gnome sort: reverted merge commit adding error (#559)
* Revert "Merge pull request #513 from tania-cmyk/master"

This reverts commit 5eebdedefc, reversing
changes made to 53e92ebc05.

* formatting source-code for 16110cd079

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-08 08:54:58 -04:00
Krishna Vedala
294d29b584
more elaborate README (#558) 2020-07-07 20:06:28 -04:00
Krishna Vedala
6072e3b111
[bugs & docs] lots of documentation and bug fixes (#554)
* sudoku - lots of documentation and bug fixes

Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* fix uint8_t format specifier

* fix format specifiers

* fix space in doc

* fix doc for get_next_unknown

* fix docs and lgtm alert in euler problem 19

* fix docs & lgtm error fibonacci_fast

* fix docs & lgtm alert merge_sort

* free dynamic memory
2020-07-04 15:05:30 -04:00
Krishna Vedala
b693440d55
[docs] add documentation group (#556)
* add documentation group

* function parameter docs

* fix function parameter direction

* free dynamic memory
2020-07-04 13:59:21 -04:00
Krishna Vedala
246f3e3f0e
Merge pull request #555 from kvedala/docs/ml
[docs] Update documentations in machine learning
2020-07-03 14:13:08 -04:00
Krishna Vedala
b863518ceb
update ML documentation and add grouping 2020-07-02 20:09:49 -04:00
Krishna Vedala
b33bd37623
kohonen2d: update ML documentation and add grouping 2020-07-02 20:02:33 -04:00
Krishna Vedala
797a7d4c73
update ML documentation and add grouping 2020-07-02 19:52:19 -04:00
Krishna Vedala
9a58248668
Merge pull request #553 from kvedala/fixes/lgtm
[bugs] fixes for lgtm and improve docs
2020-07-02 10:48:06 -04:00
Krishna Vedala
ccd3f66608
fix code - major errors + add docs 2020-07-01 21:27:35 -04:00
Krishna Vedala
5daeb8daaa
fix docs & add link 2020-07-01 21:02:41 -04:00
Krishna Vedala
ec57c8fa40
docs + fix lgtm alert
4d0dbc401d/files/sorting/bead_sort.c (xdc9736f163b5f58d):1
2020-07-01 20:58:44 -04:00
Krishna Vedala
2150c35846
fix printing long double 2020-07-01 20:49:27 -04:00
Krishna Vedala
cb999259cf
make all doubles as long double 2020-07-01 20:37:24 -04:00
Krishna Vedala
f21f18ef73
make identical datatype
4d0dbc401d/files/project_euler/problem_22/sol1.c (xa0d183509f9bbb35):1
2020-07-01 20:21:56 -04:00
Krishna Vedala
0f48961469
Merge pull request #552 from kvedala/fixes/lgtm
[bugs/lgtm] code + doc fixes + lgtm corrections
2020-07-01 20:11:18 -04:00
Krishna Vedala
2a0b8917f8
fix argc check
refer: dd40af2736 (r40309582)
(cherry picked from commit 610181d5e81c39cb23415cf056a021acc37f9b3c)
2020-07-01 19:56:45 -04:00
Krishna Vedala
e75dfb8646
added iterative algorithm for binary_search 2020-06-30 14:17:12 -04:00
Krishna Vedala
3b0ff5fd7b
fixed binary_search for lgtm errors + added tests 2020-06-30 14:02:10 -04:00
Krishna Vedala
cc45bea17d
use Cantor variable name and not contour 2020-06-30 13:52:43 -04:00
Krishna Vedala
c755eefcd0
use program instead of 'function' in file description 2020-06-30 13:47:44 -04:00
Krishna Vedala
e2c51387bd
minor doc fix in euler prob1 sol1 2020-06-30 13:39:31 -04:00
Krishna Vedala
c3f220098f
remove /Z option from cmake MSVC 2020-06-30 13:38:53 -04:00
Krishna Vedala
9ca22bc70c
fix errors and docs in cantor set 2020-06-30 13:38:36 -04:00
shellhub
74c091b1aa less code 2020-06-30 16:27:19 +08:00
Krishna Vedala
8914128e13
Merge pull request #551 from kvedala/docs/fix
[bugs,docs] Fixes to existing code for LGTM and documentation
2020-06-28 16:38:34 -04:00
Krishna Vedala
6710df7ec3
fix LGTM - limit malloc range 2020-06-28 15:57:00 -04:00
Krishna Vedala
619620d65d
fix LGTM error - c_atoi
41e2711683/files/conversions/c_atoi_str_to_integer.c (xdba26cc5061d357d):1
2020-06-28 15:53:26 -04:00
Krishna Vedala
20bab2a5ae
fix lgtm error - lexicographic_permutations
41e2711683/files/misc/lexicographic_permutations.c (x2d1d13a31e62af9e):1
2020-06-28 15:47:50 -04:00
Krishna Vedala
17c5523129
fix lgtm error
41e2711683/files/conversions/c_atoi_str_to_integer.c (xc388f8d8efa89fb4):1
2020-06-28 15:44:34 -04:00
Krishna Vedala
cf2a17e380
enable autobrief in documentation 2020-06-28 15:30:06 -04:00
Krishna Vedala
6470f0318b
fixed documentations 2020-06-28 15:18:52 -04:00
Krishna Vedala
aa8d74543f
Merge branch 'master' of https://github.com/kvedala/C 2020-06-28 11:27:43 -04:00
Krishna Vedala
0a3455255a
disable timestamps in documentation 2020-06-28 11:27:18 -04:00
github-actions
6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
Krishna Vedala
5bba04b671
fix formatting style to Google 2020-06-28 11:24:39 -04:00
Krishna Vedala
b833e27964
fix link references from fork to main repo 2020-06-28 11:22:42 -04:00
Krishna Vedala
d5d68d5842
Merge pull request #543 from kvedala/master
Major rework to improve code quality, add automation checks and self hosted autogenerated documetnation website
2020-06-28 11:05:38 -04:00
Krishna Vedala
4581d63b24
remove redundant empty file 2020-06-28 07:11:49 -04:00
Krishna Vedala
f221beada5
ignore files in .vscode unless specifically added 2020-06-28 07:10:42 -04:00
Krishna Vedala
800bd405cc
added section to include references in pull-request template 2020-06-23 18:34:35 -04:00
Krishna Vedala
1ac3dc6ca6
fix newline character 2020-06-23 18:30:26 -04:00
github-actions
5347e6f87d formatting source-code for b1d92cbdda 2020-06-20 11:28:26 +00:00
Krishna Vedala
b1d92cbdda
fixed Github actions CI workflow
to mimic changes in C++ repo
2020-06-20 07:27:19 -04:00
Krishna Vedala
10122ed784
Merge pull request #17 from kvedala/merge_upstream
Merge upstream
2020-06-17 19:57:09 -04:00