Aliquot Sequence Research
2.0
Compute properties of the sum-of-proper-divisors function.
|
Configure the Pomerance-Yang algorithm. More...
#include <pomyang_kparent.h>
Data Fields | |
size_t | preimage_count_bits |
size_t | bound |
size_t | seg_len |
size_t | num_locks |
size_t | num_threads |
bool | est_heap |
bool | quiet |
Configure the Pomerance-Yang algorithm.
pomyang_config_t::bound |
Determine counts of all even k-parent numbers under this bound. Must be even.
pomyang_config_t::est_heap |
Estimates heap usage, useful for large bound runs.
pomyang_config_t::num_locks |
The size of the mutex buffer used to protect the shared counter buffer during multi-threaded access.
pomyang_config_t::num_threads |
How many threads to use.
pomyang_config_t::preimage_count_bits |
Input to the PackedArray data struct, determines the actual number of bits used to count the number of preimages some number has. Can be 1, 2, 4, or 8.
pomyang_config_t::quiet |
Quiets some logging.
pomyang_config_t::seg_len |
Segment length for sieving blocks of sigma(n), the algorithms input.