100 Commits

Author SHA1 Message Date
ab229c08a2 Added wiki reference link for Median 2021-07-19 02:54:42 +08:00
feefe881ea Added AverageMedian function 2021-07-19 02:44:37 +08:00
a55248a3b7 Added RadianToDegree.js and RadianToDegree.test.js in Maths directory 2021-07-10 14:42:53 +05:30
988177915f Corrections 2021-07-09 22:51:08 +05:30
ec37421591 Added DegreeToRadian.js and DegreeToRadian.test.js in Maths directory 2021-07-09 22:15:43 +05:30
709de83feb Added jest file in tests, added description and normal even number test(divisibility by 2 ) 2021-07-03 18:27:43 +05:30
121357476e Added IsEven Function to Maths directory 2021-07-02 20:24:18 +05:30
a9b1f8994f chore(SquareRoot.js): Better Precision constant 2021-05-30 17:04:24 +05:30
f813ae46e8 Merge pull request #597 from Masa-Shin/fix-maths-is-divisible
Fix Maths/IsDivisible
2021-05-23 14:46:55 +05:30
6d8b134ce7 Formatted with standard 2021-05-23 18:09:39 +09:00
dc02fd3944 Merge pull request #336 from c-utkarsh/add-binary-expo-recursive
Added Binary Exponentiation (Recursive)
2021-05-23 14:15:41 +05:30
a14da3d113 improve error handling of isDivisible 2021-05-23 17:44:15 +09:00
4dc0be89c3 Merge branch 'master' into fix-maths-is-divisible 2021-05-23 17:40:26 +09:00
18cd39fc8d Merge pull request #341 from c-utkarsh/add-prime-factors
Added PrimeFactors
2021-05-23 13:47:39 +05:30
f50c87e5cd Merge pull request #344 from c-utkarsh/add-eulers-totient
Added EulersTotient
2021-05-23 13:45:06 +05:30
38a5cb297a Merge pull request #351 from JimmyJoo/master
Improved SieveOfEratosthenes.js
2021-05-23 13:29:22 +05:30
87f0c64e2f Merge pull request #357 from c-utkarsh/add-matrix-exponentiation-recursive
Added Matrix Exponentiation (Recursive)
2021-05-23 13:05:33 +05:30
b702faadc5 feat(Polynomial.js): Fixed bad code 2021-05-21 11:38:25 +05:30
ca4c1a62af style: Fixed most styles (according to standardjs) 2021-05-21 11:16:11 +05:30
054622c999 style(SquareRoot.js): Fixed style 2021-05-13 13:18:51 +05:30
2c1052da8b feat(SquareRoot.js): Added TypeError 2021-05-13 13:07:15 +05:30
a22c0486e7 style(Maths/SquareRoot.js): Fixed tabs according to standard 2021-05-13 12:46:01 +05:30
32b77affd3 Create SquareRoot.js 2021-05-06 10:46:27 +05:30
cf5ff92ef9 Add tests for Maths/IsDivisible 2021-05-05 14:23:50 +09:00
469a0e06c8 Improve input validation of isDivisible
- Use Number.isFinite() for validation
- Throw an error instead of returning a string
- Instead of returning a string, return false when divisor === 0 since no numbers are in fact divisible by 0.
2021-05-05 14:22:10 +09:00
5a0db06e8c Fix case of file name of isDivisible 2021-05-05 14:21:20 +09:00
52cb6a8093 Added 2 division check 2021-05-05 09:32:58 +05:30
a001e69a91 Update PrimeCheck.js 2021-05-05 09:29:48 +05:30
7b1784763e Merge pull request #575 from algobytewise/Add-algorithm-Euler-method
Add algorithm Euler method
2021-04-15 22:06:09 -03:00
68f044054e Add Mandelbrot 2021-03-20 17:31:45 +05:30
769ef0e891 Adjusted looping to include the endpoint 2021-03-08 20:56:20 +05:30
dace7bf652 changed step size in example for better precision 2021-03-05 21:14:35 +05:30
aa52eeee4f Add algorithm Euler method 2021-03-05 16:18:07 +05:30
29e1074af9 Merge pull request #565 from IlyaIskra/patch-1
Correct algorithm definition  | ArmstrongNumber
2021-02-09 21:58:56 +05:30
fdda80fc6b Fix grammar. 2021-02-05 17:59:38 +05:30
6a35362160 Correct algorithm definition | ArmstrongNumber 2021-02-05 10:33:12 +03:00
c8ab618d00 Merge pull request #477 from Eji4h/master
Refactor Maths/Factorial for more minimal side effects.
2021-01-22 15:44:51 +05:30
285d2b08da Move the (num > 0) if condition to the end 2021-01-22 12:44:52 +07:00
901432ef49 Merge pull request #512 from JakeGerber/master
Added decimalIsolate function.
2020-12-22 11:13:05 +05:30
ef78fce1e2 Update decimalIsolate.js
The previous code was not efficient enough to give the accurate output.
2020-12-22 11:08:56 +05:30
8b1e32eb77 Add extra testcases for Fibonacci and improve code (#544)
* Add extra testcases for Fibonacci and improve code
* Fix typos in Fibonacci.js
2020-12-20 22:24:02 +05:30
2ebe65baff Add Pow.js (#498)
* Add pow.js

* Add tests for Pow.js
2020-12-20 19:08:37 +05:30
c931b4675f some changes in coding style to make it standerize 2020-12-14 12:38:08 +05:30
6d91a1eede some changes in coding style to make it standerize 2020-12-14 12:30:03 +05:30
4746d0c90e some changes in coding style to make it standerize 2020-12-14 12:26:08 +05:30
ee749bde47 Added EulersTotientFunction function to the Maths Folder 2020-12-14 00:33:55 +05:30
74f9bfb8a8 Implementing Permutations and Combinations (#481)
* calculates the number of permutations and combinations

* calculates the number of permutations and combinations

* calculates the number of permutations and combinations

* updating DIRECTORY.md

* calculates the number of permutations and combinations

* calculates the number of permutations and combinations

* fixed a typo

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-07 21:34:06 +05:30
7a050aba5b Merge pull request #531 from rahul1995/fib-matrix-expo
Add O(log n) algorithm using matrix exponentiation to find n-th fibonacci
2020-11-01 08:55:10 +05:30
eab57b880a add binary convert (#521)
* add  binary convert
2020-10-31 20:22:50 +05:30
19295099d0 Merge pull request #505 from theepag/WhileLoopFactorial
Added while loop factorial
2020-10-31 12:47:56 +05:30