Number Theory Utils 0.2.0
|
The roots of a polynomial over a finite field, ignoring multiplicity. More...
#include <polynomial.h>
Data Fields | |
uint64_t | len |
Number of roots, can be 0 if there are none. | |
uint64_t | cap |
Maximum number of roots the roots buffer can currently store. | |
int64_t * | roots |
Array of roots. | |
The roots of a polynomial over a finite field, ignoring multiplicity.
Definition at line 38 of file polynomial.h.
uint64_t nut_Roots::len |
Number of roots, can be 0 if there are none.
Definition at line 40 of file polynomial.h.
uint64_t nut_Roots::cap |
Maximum number of roots the roots buffer can currently store.
Definition at line 42 of file polynomial.h.
int64_t* nut_Roots::roots |
Array of roots.
Should be managed by nut_Roots_init
, nut_Roots_destroy
, and nut_Roots_ensure_cap
.
Definition at line 45 of file polynomial.h.