Aliquot Sequence Research  2.0
Compute properties of the sum-of-proper-divisors function.
Data Fields
pomyang_config_t Struct Reference

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
 

Detailed Description

Configure the Pomerance-Yang algorithm.

Field Documentation

◆ bound

pomyang_config_t::bound

Determine counts of all even k-parent numbers under this bound. Must be even.

◆ est_heap

pomyang_config_t::est_heap

Estimates heap usage, useful for large bound runs.

◆ num_locks

pomyang_config_t::num_locks

The size of the mutex buffer used to protect the shared counter buffer during multi-threaded access.

◆ num_threads

pomyang_config_t::num_threads

How many threads to use.

◆ preimage_count_bits

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.

◆ quiet

pomyang_config_t::quiet

Quiets some logging.

◆ seg_len

pomyang_config_t::seg_len

Segment length for sieving blocks of sigma(n), the algorithms input.


The documentation for this struct was generated from the following file: