math
Prime Number Functions
#400
Open
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
117
Changes
View On
GitHub
Prime Number Functions
#400
mborland
wants to merge 117 commits into
boostorg:develop
from
mborland:prime_functions
Initial Commit
4015fbc8
Changed init of least_divisors
3ee737be
Cleanup
9512bb6c
Cleanup
d762398d
NAThompson
commented on 2020-07-10
NAThompson
commented on 2020-07-10
NAThompson
commented on 2020-07-10
NAThompson
commented on 2020-07-10
NAThompson
commented on 2020-07-10
Added additional tests, benchmarks, and overflow checks
5375a1d6
NAThompson
commented on 2020-07-10
Fix include guard naming
a684dbd3
NAThompson
commented on 2020-07-11
NAThompson
commented on 2020-07-11
mborland
force pushed
from
349ca6f5
to
a2aedbb7
5 years ago
Complete revamp of algorithm. Hide implementation behind detail names…
3e4db8a6
mborland
force pushed
from
a2aedbb7
to
3e4db8a6
5 years ago
Re-added support and tests for boost::multiprecision::cpp_int [CI SKIP]
dd8a61c8
Changed benchmarks to support threading [CI SKIP]
4debd0d4
Added execution policies. Increased performance for dynamically linke…
2a7e0312
NAThompson
commented on 2020-07-14
Added massively parallel section to prime_sieve. Increased length of …
a68910ed
Add test for multi-threading section and add to Jamfile [CI SKIP]
386cc4d0
Added prime sieve to existing prime numbers documentation [CI SKIP]
d79eddb6
NAThompson
commented on 2020-07-15
NAThompson
commented on 2020-07-15
Revisions to documentation and send to CI
3fdf917d
NAThompson
commented on 2020-07-15
NAThompson
commented on 2020-07-15
Changed include guards to be compatible with C++11 and 14.
6ca245be
NAThompson
commented on 2020-07-15
NAThompson
commented on 2020-07-15
Fixed doc, and ensured that primes are sorted
7d3a5203
NAThompson
commented on 2020-07-16
NAThompson
commented on 2020-07-16
Fixed documentation. Complete re-design of mask_sieve algo. Pre-gener…
a1ac504e
jzmaddock
commented on 2020-07-17
jzmaddock
commented on 2020-07-17
jzmaddock
commented on 2020-07-17
All vectors now init {}. Change include guards. Replace raw pointer.
35d2aa1e
jzmaddock
commented on 2020-07-17
Changed from [lower_bound, upper_bound] to [lower_bound, upper_bound)…
243a2997
Fixed documentation [CI SKIP]
2eadeff1
segmented_sieve now runs using std::async. [CI SKIP]
173ce0d0
Removed extraneous operations [CI SKIP]
23fba368
Cleanup style, and delete unused function. Enable par_unseq mask_siev…
f7b45fdf
Small Cleanup and limit reduction for sieving methods.
d687d5eb
jeremy-murphy
commented on 2020-07-21
jeremy-murphy
commented on 2020-07-21
jeremy-murphy
commented on 2020-07-21
jeremy-murphy
commented on 2020-07-21
Add pritchard's sub-linear algo [WIP][CI SKIP]
e51d727c
Added pritchards segmented sieve [WIP][CI SKIP]
1245d27d
Implemented binary search in SetS [WIP][CI SKIP]
20520810
Tests and performance compairsons [WIP][CI SKIP]
9f81e0d9
More tests. Segmented sieve small cases fix
55ea0450
jeremy-murphy
commented on 2020-07-27
jeremy-murphy
commented on 2020-07-27
Imporve segmented performance [WIP][CI SKIP]
31a21058
Replaced SetS members with stl algos [WIP][CI SKIP]
f545928c
mborland
force pushed
from
be65378f
to
f545928c
5 years ago
jeremy-murphy
commented on 2020-07-31
Replace searching with tracked index. General performance improvement…
d780db51
Minor change to SetS remove [WIP][CI SKIP]
2639bed7
Pritchard segmented performance improvements [WIP][CI SKIP]
94fc1acb
Fixed failed test [WIP][CI SKIP]
6ebb906f
Various performance improvements [WIP][CI SKIP]
05218544
Build primes in situ [WIP][CI SKIP]
b233a807
mborland
force pushed
from
4b293efd
to
b233a807
5 years ago
Refactoring. Now requires C++17
f95c2cf2
Add segmented bit sieve [WIP][CI SKIP]
8e2e29a3
Removed segmented bit sieve and excess headers [CI SKIP]
1a24f164
jeremy-murphy
commented on 2020-08-10
jeremy-murphy
commented on 2020-08-10
jeremy-murphy
commented on 2020-08-10
Added wheel class [WIP][CI SKIP]
c63f1f13
Added fixed mod 210 wheel [WIP][CI SKIP]
b7d42564
New segmented sieve algorithm [WIP][CI SKIP]
fbc38c8b
Added interval sieve to performance test [CI SKIP]
2e46b81a
Added unit tests [WIP][CI SKIP]
6759ede1
Implemented interval sieve [CI SKIP]
1b404038
Performance improvements and bug fixes [CI SKIP]
97244be0
Significant refactoring [WIP][CI SKIP]
fa041335
Seq policy actually sequential [CI SKIP]
c4a89c86
mborland
requested a review
from
NAThompson
5 years ago
NAThompson
commented on 2020-08-25
NAThompson
commented on 2020-08-25
Fixes for multiprecision and policies [CI SKIP]
91836f62
cpp_int now passes all tests [CI SKIP]
6d6b19fb
jeremy-murphy
commented on 2020-08-27
jeremy-murphy
commented on 2020-08-27
mpz_int passes unit tests [CI SKIP]
81e4a6ca
jeremy-murphy
commented on 2020-08-27
Documentation edits [CI SKIP]
0b8f1d51
Replace magic number w variable template [CI SKIP]
5ba0a1d1
Better prime_range implementation [WIP][CI SKIP]
8e240f7e
Merge branch 'develop' into prime_functions
7c0cbbfe
jzmaddock
commented on 2020-09-01
jzmaddock
commented on 2020-09-01
Minor changes and doc updates
3d9b77c7
Merge branch 'develop' into prime_functions
302fb5fc
jeremy-murphy
commented on 2020-09-06
Minor change to policy handling [CI SKIP]
9792a23b
diffs from @jzmaddock [CI SKIP]
84a69f03
Implemented linear sieve with iterators
5dc35236
Sanitize linear prime sieve and add wheel
0dbe69cb
Added container method
eee2c862
Improved Linear Algo and testing
f5d789ad
Merge branch 'prime_iterator' into mborland/prime_iterator
f2277e3c
Linear sieve with output iterator and refactoring [CI SKIP][WIP]
1d2f03c1
Merge branch 'prime_functions' into mborland/prime_functions
0d9d31b3
Linear output iterator and refactoring [CI SKIP]
c361cdea
Added prime approximation function
66c26426
prime approximation function for a range
de1f331e
Added interval sieve for output iterators
eaea5f92
Merge remote-tracking branch 'origin/develop' into prime_iterator
e8196f30
Interval sieve with OI passes unit tests [CI SKIP]
cb5d978c
Merge branch 'prime_iterator' into prime_functions
830ccc45
Add sequential composite sieve with OI [CI SKIP]
4dc3eb20
Add threaded method. Currently INOP [CI SKIP]
90be1009
Threaded method completed and validated [CI SKIP]
a7727821
Resolves issue #439 [CI SKIP]
2d1461fd
Updated benchmarks [CI SKIP]
e7cdb324
Correct benchmark memory allocation [CI SKIP]
29eef887
Add linear sieve direct from stepanov [CI SKIP]
b5a28b5b
First draft of eratosthenes w/ wheel [CI SKIP]
6c26b53c
Fixes for multiprecision types [CI SKIP]
980bfe71
wheel sieve passes standard battery [CI SKIP]
07e6f58b
Add prime sieve wrapper [CI SKIP]
86b9e5af
Implement dual interface for prime sieve [CI SKIP]
f19149eb
Implement dual interface for prime_range [CI SKIP]
1ad0d51b
jeremy-murphy
commented on 2020-10-09
jeremy-murphy
commented on 2020-10-10
jeremy-murphy
commented on 2020-10-10
jeremy-murphy
commented on 2020-10-10
Remove uneeded vals from wheel [CI SKIP]
5f6d06a1
Internal data structure changes [CI SKIP]
670b06df
Rename type alias [CI SKIP]
7c7a491e
Swap mod 210 wheel for mod 30 wheel [CI SKIP]
e507ba50
Add simple bitset file [CI SKIP]
c9cb41c1
jzmaddock
commented on 2020-11-24
Reduced unnecessary traversing of bitset [CI SKIP]
e8b71a00
Updated bitset [CI SKIP]
d649f657
Add resize to simple_bitset [CI SKIP]
ed988929
Implement simple_bitset as internal data structure
c3b3934a
Add prime-composite ratio to wheel to size bitset
e9aa05d5
minor refactoring [CI SKIP]
7c5d7920
Fix PrimeRatio [CI SKIP]
2bbfad23
Improved prime range [CI SKIP]
ddc5c8ab
Add hamming weight calc to simple bitset [CI SKIP]
f517c008
Add forward and reverse bit scan to simple bitset
a356b475
Fix count, enable bit scan by type, cleanup
2212e456
Add dual interface. Avoid using multiprecision
b12e2dc7
Seperate approximation for multiprecision types
f39a4d8a
Remove all mulitples of wheel basis from bitset
eafbefc6
IntervalSieve performance improvements [CI SKIP]
cb36b896
Add small prime optimization [CI SKIP]
16c2354e
Add small primes to full sieve [CI SKIP]
0b1a6905
Merge remote-tracking branch 'origin/develop' into prime_functions
8c883d1e
mborland
marked this pull request as draft
5 years ago
Implement bit scanning in sieve [CI SKIP]
f357e0f5
Fix minor errors
a4f2d897
Add trial divison to verify tests [CI SKIP]
d16e5623
Fix small primes [CI SKIP]
91be2c3a
Revert interval_prime_sieve.hpp to f39a4d8
d9ae8c2f
Remove cruft [CI SKIP]
7d220102
Continue cleanup [CI SKIP]
b5419870
Login to write a write a comment.
Login via GitHub
Reviewers
NAThompson
jzmaddock
jeremy-murphy
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub