Commit Graph

102 Commits

Author SHA1 Message Date
Krishna Vedala
76278a76c8
Merge branch 'document/math' into document/temp
* document/math:
  replace printf & scanf with std::cout and std::cin
  documented factorial
2020-05-28 16:50:13 -04:00
Krishna Vedala
c559ebcedb
replace printf & scanf with std::cout and std::cin 2020-05-28 16:41:07 -04:00
Krishna Vedala
e52da1db6e
documented factorial 2020-05-28 16:40:08 -04:00
Krishna Vedala
9ef8100a52
added see also reference to fibonacci 2020-05-28 16:37:03 -04:00
Krishna Vedala
e12a5d4b5d
remove un-necessary typecast & use uint64_t 2020-05-28 15:59:28 -04:00
Krishna Vedala
2216628678
update math fibonacci see-also links 2020-05-28 15:19:27 -04:00
Krishna Vedala
ea8aaf963d
move string fibonacci to math folder 2020-05-28 15:18:48 -04:00
Krishna Vedala
e480c049be
mode math algorithms to math folder 2020-05-27 19:00:20 -04:00
Krishna Vedala
a53ba4b856
document fibonacci fast & link to fibonacci numbers 2020-05-27 18:58:21 -04:00
Krishna Vedala
0a58f8f08f
include see-also for all gcd algos 2020-05-27 18:55:09 -04:00
Krishna Vedala
21c963c2f5
move the gcd_of_n_numbers to math folder along with all other GCD algorithms 2020-05-27 18:52:07 -04:00
Krishna Vedala
6dfdfa6662
fibonacci documentation 2020-05-27 17:58:17 -04:00
Krishna Vedala
27cea79fa3
document square-root that uses bisection method 2020-05-27 16:58:30 -04:00
Krishna Vedala
6cd589a752
math readme title 2020-05-27 16:47:32 -04:00
Krishna Vedala
ea3f8bbf29
documentation and bug fixes 2020-05-27 16:45:33 -04:00
Krishna Vedala
093b993cc7
fix cpplint 2020-05-27 16:44:58 -04:00
Krishna Vedala
9154d5a25d
docs for large number power 2020-05-27 16:22:22 -04:00
Krishna Vedala
f432c0f584
documetnation for positive divisors 2020-05-27 16:22:10 -04:00
Krishna Vedala
6173a6a701
documentation for Little Fermat's Thm 2020-05-27 16:09:50 -04:00
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