Loading...
Searching...
No Matches
nut_u64_Pitcharr Struct Reference

A fixed capacity array. More...

#include <modular_math.h>

Data Fields

uint64_t len
 
uint64_t elems []
 

Detailed Description

A fixed capacity array.

The capacity is fixed and the length in use is stored before the array proper. Not intended to be reallocated, hence the absence of a cap field. Instead intended for an array of these to be returned, for instance from a sieve that finds all distinct prime factors of all numbers in a range. Such an array is variable pitch and so must be handled as a void pointer with accessor functions for convenience, see sieves.h.

Definition at line 30 of file modular_math.h.

Field Documentation

◆ len

uint64_t nut_u64_Pitcharr::len

Definition at line 31 of file modular_math.h.

◆ elems

uint64_t nut_u64_Pitcharr::elems[]

Definition at line 32 of file modular_math.h.


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