747e8d1197
Create BaseX.php ( #140 )
...
* Create BaseX.php
This function let's you calculate base X of any number <11
* Update BaseX.php
* Update DIRECTORY.md
* Update BaseX.php
* Update BaseX.php
* Update DIRECTORY.md
Co-authored-by: Brandon Johnson <darwinz>
* Update MathsTest.php
* Update tests/Maths/MathsTest.php
Co-authored-by: Brandon Johnson <darwinz>
* Update MathsTest.php
* Update tests/Maths/MathsTest.php
Co-authored-by: Brandon Johnson <darwinz>
* Update tests/Maths/MathsTest.php
Co-authored-by: Brandon Johnson <darwinz>
---------
Co-authored-by: Brandon Johnson <darwinz>
2023-12-13 10:30:45 -07:00
e0d414bb4a
Added Fast Inverse Square root ( #142 )
2023-10-30 12:22:15 -06:00
2553639335
Add Greatest Common Divisor
2023-10-22 21:35:08 +01:00
658618ae95
fix comment indents and docs
2023-10-05 10:11:31 +03:30
9c2726203c
fix cs errors to follow the psr12 standard and also some minor fixes
2023-10-04 21:50:32 +03:30
50f436eb17
fix mode method to return multiple modes if needed
2023-09-16 16:45:18 +03:30
e0cac03bc6
Project Euler Problem 11 ( #113 )
...
* feat:first approach to the problem
* feat:add Project euler problem 11
2023-05-14 22:44:05 -06:00
f57991b8e6
Added Project Euler's problem 10 ( #110 )
...
* feat:add Project Euler problem 10
* chore:add problem in DIRECTORY
2023-04-23 22:25:55 -06:00
1914ea1253
Merge pull request #112 from rubendelblanco/Problem4
...
Maths: ProjectEuler Problem 4
2023-04-23 22:24:20 -06:00
8b3a173e5d
Add problem 4 from Project Euler
2023-04-13 11:40:19 +02:00
852a771f1c
feat:add problem 8 from Euler Project
2023-04-11 17:57:51 +02:00
da64ca9207
BUGFIX: median function and median tests, fix Issue #102
2023-02-02 17:21:33 +01:00
6a67bf2606
mean, median, mode ( #83 )
...
* mean median mode
* update DIRECTORY
* just renaming
* adding unit tests
* organizing the file
* ops missed this one
2022-10-15 22:41:56 -06:00
648c5626ed
Added neon number checker
2022-10-11 17:16:44 +05:00
e18738b14f
Added Armstrong checker
2022-10-10 12:46:00 +05:00
7535486226
Updated function name to avoid collision
2022-10-07 15:54:58 +05:00
f23fbb7f91
Added Palindrome checker
2022-10-06 21:23:15 +05:00
7da4a850fd
meta: add tests/Maths, move ProjectEuler into Maths, code style updates
2022-07-31 22:19:40 -06:00
a4840d116d
Add cache improvements
2022-07-07 01:59:59 +01:00
18429a7b93
Add Fibonacci2 - uses PHP generator. Update DIRECTORY.md
2021-10-21 19:37:30 -05:00
c469000cc0
fix to bug in CheckPrime
2021-01-06 17:32:39 +01:00
87adf51434
Change in fibonacciRecursive and add unit test
2020-12-02 15:13:10 +05:30
cee9163572
Add fibonacci formula
2020-11-30 18:08:16 +05:30
a794ab4e31
add fast exponentiation to math
2020-10-28 23:44:21 -03:00
1dfa6056d7
Added DocBlock for all the functions
2020-08-14 00:20:28 +05:30
8f9d65e91c
Added Math function and test cases for the same.
2020-08-09 00:33:43 +05:30