This website requires JavaScript.
0b4f5e90b9
Add new include to fix build error
develop
Mattrixwv
2024-04-02 20:09:54 -04:00
23ee5949c2
Added new tests
Mattrixwv
2021-10-11 12:57:34 -04:00
e03d7e8d0e
Updated comments
Mattrixwv
2021-10-11 11:35:20 -04:00
0ea27f041a
Added test for isPandigital
Mattrixwv
2021-10-11 10:16:12 -04:00
e858c63935
Added isPandigital function
Mattrixwv
2021-10-10 23:04:12 -04:00
5e8cdbc29d
Updated todo
master
Mattrixwv
2021-07-13 19:24:31 -04:00
c938908396
Fixed third linux compile bug
Mattrixwv
2021-07-03 12:28:04 -04:00
5f2cd7fae8
Fixed second linux compile bug
Mattrixwv
2021-07-03 12:26:55 -04:00
ccf6340f6c
Fixed bug for linux compile
Mattrixwv
2021-07-03 12:25:58 -04:00
d579c1663b
Updated for uniformity and random now working
Mattrixwv
2021-07-03 02:39:50 -04:00
a0a89d510f
Removed results block
Mattrixwv
2021-07-02 21:59:24 -04:00
e377f4d585
Created make file to make testing easier
Mattrixwv
2021-07-02 21:59:12 -04:00
5cf20b539a
Split up algorithms to several sub files
Mattrixwv
2021-07-02 20:50:28 -04:00
eba3d9e1f8
Created a general Generator type for coroutines
Mattrixwv
2021-07-02 15:19:42 -04:00
279528fe28
Added tests for Sieve of Eratosthenes
Mattrixwv
2021-06-30 17:14:56 -04:00
83c20463de
Added new test for isPrime
Mattrixwv
2021-06-30 14:10:17 -04:00
cf8fd4d65e
Added functions to create a string from a vector
Mattrixwv
2021-06-30 14:02:57 -04:00
16b2a6f792
Fixed bug in toBin function
Mattrixwv
2021-06-29 12:00:12 -04:00
5e3c4bd004
Updated dates
Mattrixwv
2021-06-29 10:18:13 -04:00
721128a276
Added functions to check palindromes and convert to bin
Mattrixwv
2021-06-29 10:17:41 -04:00
07d32e6b42
Added function to get factorial of number
Mattrixwv
2021-06-01 18:31:54 -04:00
190d92da47
Added function to find factorial of number
Mattrixwv
2021-06-01 15:16:07 -04:00
b035dcfaed
Added a SieveOfEratosthenes class
Mattrixwv
2021-03-11 10:07:17 -05:00
b2becb11ef
Added function to split a string on a character
Mattrixwv
2020-12-04 14:10:24 -05:00
82c3bd79f0
Created todo list
Mattrixwv
2020-10-30 16:34:09 -04:00
0266785921
Adjusted variable names
Mattrixwv
2020-10-30 16:05:12 -04:00
a1e0d53e8d
Added test for isPrime
Mattrixwv
2020-10-30 15:28:37 -04:00
b54a223934
Added isPrime
Mattrixwv
2020-10-30 15:21:23 -04:00
1ee5d04871
Added function to count occurrences of a char in a string
Mattrixwv
2020-07-28 01:08:14 -04:00
077e265de3
Updated function to match description
Mattrixwv
2020-07-11 13:36:34 -04:00
9a64623008
Added test for new function
Mattrixwv
2020-07-09 15:46:46 -04:00
2bebbd2db9
Moved all string functions to a single function A couple of bugs relating to time resolution squished
Mattrixwv
2020-07-09 15:46:35 -04:00
3c99ab2eb0
Added a function that returns a string when passed a duration in nanoseconds. Helpful for easy conversion in some benchmarks
Mattrixwv
2020-07-08 16:39:25 -04:00
2a3c022136
Added ability for Stopwatch to be sent to an ostream
Mattrixwv
2020-02-02 12:02:26 -05:00
efa76caca8
Fixed error with problem 2 not compiling
Matthew Ellison
2019-09-05 20:16:58 -04:00
242a2016d6
Changed isFound to use functions in the STL
Mattrixwv
2019-08-18 11:53:05 -04:00
89245b00f5
Added instructions and info on the getStr function
Matthew Ellison
2019-03-29 12:50:27 -04:00
f2f4782b06
Adjusted string output to show minutes and hours when the previous resolutionis over 120
Matthew Ellison
2019-03-29 12:49:15 -04:00
27087ad163
Added tests so all functions in Algorithms.hpp are tested
Mattrixwv
2019-02-28 11:23:47 -05:00
ccebe26aa2
Fixed bug in getNumFib where you get one number larger than desired
Mattrixwv
2019-02-28 11:22:58 -05:00
7bd89b9479
Fixed bug for empty array in get product
Mattrixwv
2019-02-28 11:18:46 -05:00
430a22c34b
Added quick sort algorithm
Mattrixwv
2019-02-28 10:44:31 -05:00
06d09efa8b
Merge branch 'master' of https://bitbucket.org/Mattrixwv/my-classes
Mattrixwv
2019-02-27 18:09:30 -05:00
bb8810326f
Updated to be more standardized
Mattrixwv
2019-02-27 18:09:16 -05:00
53d2a266c3
Added exception handling and test function to Stopwatch
Matthew Ellison
2019-02-12 00:21:12 -05:00
45f6d69507
Changed dice to a template class and updated ifdef statements
Matthew Ellison
2019-02-12 00:02:47 -05:00
9466ef4f0d
Added a function to return a string of the time at recomended resolution
Matthew Ellison
2019-02-10 00:15:27 -05:00
84cbf6d5af
Updated getFib so you don't need a special function for the gmp library
Matthew Ellison
2019-02-09 00:49:25 -05:00
649fe3a66e
Fixed another bug in the getDivisors function
Matthew Ellison
2019-02-09 00:20:10 -05:00
bae2a3e3fc
Added getProduct() and fixed bugs in getDivisors()
Matthew Ellison
2019-02-08 23:43:27 -05:00
6a06c2f1aa
Fixed bug in getPrimes where it would skip adding 2 on odd numbers
Matthew Ellison
2019-02-08 18:45:56 -05:00
e3bdd3e0f9
Fixed typo in getFactors
Matthew Ellison
2019-02-08 16:11:03 -05:00
0bec0ff5ab
Added getAllFib function to return a vector of Fibonacci numbers
Matthew Ellison
2019-02-08 15:34:20 -05:00
e86278f050
Updated to correct scope problem
Matthew Ellison
2019-02-08 14:39:20 -05:00
bb4c1f80b4
Added a readme to the repository
Matthew Ellison
2019-02-08 02:40:06 -05:00
799e157996
Reworked get(Time) function to for easier upkeep
Matthew Ellison
2019-02-08 01:24:36 -05:00
c0670a5e03
Added documentation and move functions around for better readability
Mattrixwv
2019-02-07 23:57:21 -05:00
5f7351bf6e
Fixed syntax error in getDivisors
Mattrixwv
2019-01-31 12:40:37 -05:00
77586965ca
Updated the getDivisors funct to fix possible bugs and improve efficency
Mattrixwv
2019-01-31 12:21:55 -05:00
4dfb5f42a4
Updated to increase efficiency of both prime number functions
Mattrixwv
2019-01-31 00:35:38 -05:00
c77f9d71e0
Updated getNumPrimes to be more efficient
Mattrixwv
2019-01-30 22:09:57 -05:00
cea62c9404
Updated so it is unnecessary to link gmp every time it is included
Mattrixwv
2019-01-29 01:37:36 -05:00
86bedfc0cd
Fixed a couple of typo bugs in the newest functions
Mattrixwv
2019-01-29 01:30:41 -05:00
f79fddf372
Updated to correct date
Mattrixwv
2019-01-29 01:14:31 -05:00
b397d00290
Updated getNumPrimes() to make algorithm more efficient
Mattrixwv
2019-01-29 01:12:47 -05:00
2fc5f8c425
Added an algorithm that will return a specific number of primes
Mattrixwv
2019-01-29 01:10:06 -05:00
04a1c29a4b
Added a function to get all the prime factos of a number
Mattrixwv
2019-01-28 13:13:13 -05:00
aa5ae520c3
Updated prototype to show correct function
Mattrixwv
2019-01-28 12:47:28 -05:00
d8f8408c7c
Added a simple dice class and test function
Mattrixwv
2019-01-26 01:23:00 -05:00
2275cb7eab
Brought uniformity. Putting LGPL in files but GPL in LICENSE
Mattrixwv
2019-01-26 01:22:49 -05:00
c70338c273
Updated name to better reflect what the file does
Mattrixwv
2019-01-25 20:37:14 -05:00
c6794e1c6f
Added Copyright information
Matthew Ellison
2018-12-10 12:05:48 -05:00
070a568dca
Added tests for findMin and findMax
Matthew Ellison
2018-12-10 00:39:46 -05:00
452c20fce0
Added functions for finding the minimum and maximum elements in a vector
Matthew Ellison
2018-12-10 00:39:29 -05:00
d79ab17353
Added bubblesort, quicksort, and search
Matthew Ellison
2018-12-02 17:25:22 -05:00
a0a74ff902
Added test for my algorthms file
Matthew Ellison
2018-11-14 12:04:50 -05:00
a365970985
Updated to track test code, but ignore the executables
Matthew Ellison
2018-11-14 11:59:39 -05:00
6e73189e96
Fixed small bug, increased Fib efficiency and changed to C++ gmp classes
Matthew Ellison
2018-11-14 11:58:33 -05:00
aed6b8672c
Added algorithms for finding a Fibonacci number
Matthew Ellison
2018-11-14 00:12:37 -05:00
410cd4f909
Added a gitignore file so I can test and not push the tests to the repo
Matthew Ellison
2018-11-14 00:12:13 -05:00
0b99682299
Removed the failed BigInt class
Matthew Ellison
2018-11-14 00:11:33 -05:00
175e97020d
Added some comments and a function for permutations
Matthew Ellison
2018-11-12 11:35:01 -05:00
76c7b4bce5
Added warning because this is not a stable class yet
Matthew Ellison
2018-11-12 11:34:35 -05:00
95d2869136
Fixed sort problem and added declarations to the front of the file
Matthew Ellison
2018-11-09 15:42:27 -05:00
e77e66ef86
Added sort to the end of the getPrimes and getDivisors functions
Matthew Ellison
2018-11-09 15:13:22 -05:00
81b50f92f6
Added the correct namespace to the file
Matthew Ellison
2018-11-09 00:53:45 -05:00
72153267df
Added a file that contains some useful algorithms
Matthew Ellison
2018-11-08 18:00:06 -05:00
00759b82d1
Moved my classes to an appropriate namespace
Matthew Ellison
2018-11-08 17:38:08 -05:00
8d9af8d84e
Added a class that can handle addition and subtraction on very large integers
Matthew Ellison
2018-11-07 19:38:18 -05:00
0344054a34
Added include guard
Matthew Ellison
2018-11-07 18:12:33 -05:00
098a462e2b
Added a stopwatch class that allows easy timing of programs
Matthew Ellison
2018-10-31 00:35:32 -04:00
33db0efce0
Added a class that changes the colors of a terminal
Matthew Ellison
2018-03-23 14:08:20 -04:00