Loading...
Searching...
No Matches
nut_Factors Struct Reference

A prime factorization. More...

#include <factorization.h>

Data Fields

uint64_t num_primes
 
struct { 
 
   uint64_t   prime 
 
   uint64_t   power 
 
factors [] 
 

Detailed Description

A prime factorization.

Stores a list of prime, power pairs in a flexible length array, along with the number of primes in the factorization. Not intended to be reallocated, hence the absence of a cap field.

Definition at line 38 of file factorization.h.

Field Documentation

◆ num_primes

uint64_t nut_Factors::num_primes

Definition at line 39 of file factorization.h.

◆ prime

uint64_t nut_Factors::prime

Definition at line 41 of file factorization.h.

◆ power

uint64_t nut_Factors::power

Definition at line 42 of file factorization.h.


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