Commit Graph

83 Commits

Author SHA1 Message Date
Krishna Vedala
49fe1b11ef
document fibonacci program 2020-05-27 15:42:23 -04:00
Krishna Vedala
e31ee6e833
better document GCD programs 2020-05-27 15:42:12 -04:00
Krishna Vedala
a436cd7a1b
improve documentation for fast_power 2020-05-27 15:14:39 -04:00
Krishna Vedala
d262065492
use template based functions 2020-05-27 15:14:30 -04:00
Krishna Vedala
757970dbae
documentation for extended euclid 2020-05-27 15:06:46 -04:00
Krishna Vedala
691cbdb1f5
fix code for generic types 2020-05-27 15:06:36 -04:00
Krishna Vedala
4944d4c8b1
documentation for eulers_totient_function.cpp 2020-05-27 14:07:18 -04:00
Krishna Vedala
d723604e01
documentation update for double_factorial 2020-05-27 14:07:05 -04:00
Krishna Vedala
50070774dd
fix documentation for double_factorial 2020-05-27 12:55:03 -04:00
Krishna Vedala
44f68e9a2e
bug fix - no function return and invalid for loop termination check 2020-05-27 12:54:42 -04:00
Krishna Vedala
4134c16f42
documentation for double_factorial 2020-05-27 09:21:54 -04:00
Krishna Vedala
334eb3df59
documetnation for binary_exponent.cpp 2020-05-27 09:13:21 -04:00
Krishna Vedala
139964d325
improved documentation 2020-05-26 09:05:44 -04:00
Krishna Vedala
0ad756f860
rand_r is non-portable and obsolete 2020-05-26 09:05:29 -04:00
Krishna Vedala
9c0025aa3d
added cmake to math, others and compu_stats 2020-05-25 23:42:37 -04:00
Krishna Vedala
82dab7515c
filenames and namespace fixes 2020-05-25 23:22:26 -04:00
Krishna Vedala
baea3b07c1
major corrections in the files - bad CPPLINT and non-compilable codes 2020-05-25 22:56:38 -04:00
Krishna Vedala
b36322c629
file rename to standards
(cherry picked from commit 412d3ff1a2)
2020-05-25 22:53:10 -04:00
Krishna Vedala
8207c776eb
syntax correction
(cherry picked from commit 260ba8d3a4)
2020-05-25 22:52:33 -04:00
Anup Kumar Panwar
846dbc005b
Merge pull request #727 from DarkWarrior703/patch-5
Create double_factorial
2020-05-23 00:46:45 +05:30
Rob Adams
51eb5beab5 fix: sqrt_double hangs on x < 1 (#760) 2020-05-20 03:05:03 +00:00
vonzo
03664deca9
Fibonacci funtion added (#767)
* finbonacci funtion added

* finbonacci funtion added

* finbonacci funtion added

* finbonacci funtion added

* Update fibonacci.cpp

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-05-19 17:50:15 +02:00
Srujan Bharadwaj
de65e2b256
Create extended_euclid_algorithm.cpp (#759)
* Create extended_euclid_algorithm.cpp

* Fix wihitespaces and fix if else space issues

* Update extended_euclid_algorithm.cpp

* updating DIRECTORY.md

* Update extended_euclid_algorithm.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-05-18 14:32:42 +02:00
John Law
264a26e15a
Fix spacing 2020-05-11 00:55:16 +02:00
John Law
8f41e1704d
Rename mod_inverse_by_fermat_theorem.cpp to modular_inverse_fermat_little_theorem.cpp 2020-05-11 00:54:45 +02:00
Mann Mehta
c9fc01af7a Resolve line length errors in math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 17:33:08 +05:30
Mann Mehta
563e29acae Resolve errors in math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 17:31:48 +05:30
Mann Mehta
78eecf75eb Modified the math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 17:27:29 +05:30
John Law
409625656d
Fix descriptive comment 2020-05-08 22:45:38 +02:00
Mann Mehta
9872a08f27 Remove extra blank lines in math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 00:26:15 +05:30
Mann Mehta
5f11e212f8 Resolve line_length errors in math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 00:24:16 +05:30
Mann Mehta
c17b6a9ee0 Resolve type errors in math/mod_inverse_by_fermat_theorem.cpp 2020-05-09 00:21:24 +05:30
Mann Mehta
808464c4f6 Added mod_inverse_by_fermat_theorem.cpp in math directory. 2020-05-09 00:13:06 +05:30
Christian Clauss
c4f3f915f8
Update double_factorial.cpp 2020-04-26 08:41:22 +02:00
DarkWarrior703
2aaba721fb
Update double_factorial.cpp 2020-04-25 22:38:53 +03:00
DarkWarrior703
b403487142
Update double_factorial.cpp 2020-04-25 22:37:50 +03:00
DarkWarrior703
9fef832f57
Update double_factorial.cpp 2020-04-25 22:34:44 +03:00
DarkWarrior703
e6874e4d18
Update double_factorial.cpp 2020-04-25 22:28:20 +03:00
DarkWarrior703
a4d3475ed5
Update sqrt_double.cpp 2020-04-25 16:30:52 +03:00
DarkWarrior703
f27f3fcbf0
Update sqrt_double.cpp 2020-04-25 16:29:50 +03:00
DarkWarrior703
c8f11deea2
Update sqrt_double.cpp 2020-04-25 16:28:31 +03:00
DarkWarrior703
e9a0234cbe
Update sqrt_double.cpp 2020-04-25 16:26:36 +03:00
DarkWarrior703
d4ab125657
Update sqrt_double.cpp 2020-04-25 16:25:00 +03:00
DarkWarrior703
878dc0bf6c
Update sqrt_double.cpp 2020-04-25 16:21:45 +03:00
DarkWarrior703
e4504d641b
Rename double_factorial to double_factorial.cpp 2020-04-25 16:18:32 +03:00
DarkWarrior703
2b917ee43a
Rename sqrt_double to sqrt_double.cpp 2020-04-25 16:17:15 +03:00
DarkWarrior703
a77f0d3afe
Create double_factorial
Calculates the double factorial of an integer
2020-04-24 21:01:14 +03:00
DarkWarrior703
a23baf9db1
Create sqrt_double
Calculates the sqrt of every number in O(logn) with fixed precision.
2020-04-24 20:54:32 +03:00
John Law
30521478e7
Add Number of Positive Divisors in math
Added number_of_positive_divisors.cpp in math directory
2020-04-16 16:18:01 +02:00
nikhil kala
dbdf7f14a5
Merge pull request #695 from coleman2246/master
feat: add euclidean algorithm implementation of gcd
2020-04-16 12:05:21 +05:30